How Much Does It Cost to Open a Coding School in Morocco? (2026)
You can open a small coding school in Morocco with about 194,000 MAD in one-time costs. After that, a center with 70 to 75 students spends about 24,000 MAD a month to run. The example center below covered its costs in its first month and earned around 22,000 MAD a month in its second season. An Algorithmics franchise investment starts at $15,000; this example totals 194,000 MAD because it also includes equipment and launch advertising. All figures come from real Algorithmics franchise coding schools operating in Morocco, shown in MAD with US dollars in brackets at roughly 10 MAD = $1.
The example: a mid-size center in Marrakech
Our main example is an Algorithmics coding school in a city of about 1.2 million people. It opened in November, in the middle of the school year.
- Students: 43 in the first month, 75 in the second season
- Groups: 6 to 10, with 7 to 8 kids in each
- Format: mostly offline, with some online groups
- Space: one rented office, with room for up to 160 students on the schedule
- Team: teachers, one administrator, and one sales manager
One-time startup costs
The starting setup is one classroom for 6 students. It can grow to 12 seats without moving.
The Algorithmics franchise investment starts at $15,000. The total is higher because it includes equipment, furniture, and a launch advertising budget in addition to the franchise fee.
Renovation is optional. Choose a space that's already finished, and you save both money and four to eight weeks before opening. If you do renovate, cosmetic work on 30–40 m² adds about 21,000 MAD.
Two easy ways to spend less on equipment: a TV instead of an interactive panel costs 60–80% less, and refurbished business laptops save another 20–30% in Morocco.
Monthly operating costs
The example center spends about 24,250 MAD a month to run, with 9 groups and around 75 students.
Salaries take up about 60% of the budget (14,750 MAD), and space takes up about a third. Advertising is under 5%.
When does it pay off?
The example center's profit grew as the groups filled. (In month one, costs were lower than the 24,250 MAD figure above because fewer groups and teachers were running — which is why the center was already slightly in profit.)
At this pace, the startup budget comes back in about 13 to 18 months. Summer and Ramadan are quieter months, so plan your cash for them.
By season two, revenue per student runs higher than the base monthly package (550–650 MAD) because many students add a second course or join holiday camps.
How costs change from city to city
Smaller cities mean lower rent and lower prices. The bigger the city, the more you pay for space and for each lead.
Advertising in Morocco is cheap by international standards. In Marrakech, a lead from Facebook costs 4–8 MAD. In Casablanca, the same lead costs around 100 MAD.
Break-even: how many students you need
The example center covered its monthly costs with 43 students in 6 groups in its first month in this particular city. Across the wider Algorithmics network, break-even typically falls between 50 and 68 students a month, depending on the region and local cost base. A smaller center in a smaller city needs fewer.
Where to open: six formats
You don't need a large school building to get started. Pick the format that fits your budget and your city.
- Monthly lease of an office or street-level space. The classic option, and the one our example center uses. You get a fixed schedule and your own sign on the door.
- A room in a shopping mall. Families already pass by on weekends, so walk-ins come naturally. Rent is higher, and mall hours set your schedule.
- Hourly rental. Rent a classroom by the hour in a coworking space, language school, or tutoring center. Fixed costs stay near zero while you build the first groups.
- Inside private schools. Run after-school coding classes in the school's own rooms. The school usually takes 20–30% of revenue in return for space and access to parents.
- Add coding to your existing center. If you already run a language or tutoring center, you skip rent, admin, and part of the marketing. Your current parents become your first students.
- Hybrid offline and online. Keep one classroom and run extra groups online. Online groups need no extra seats, and the example center sells them at a lower price.
What pushes your costs up or down
- City size. Rent and lead costs grow with the city — so do lesson prices.
- Team. An administrator and a sales manager take about 40% of the example center's budget. In a small city, many owners do this work themselves at the start.
- Advertising channel. Most parents at the example center come from Facebook ads that open a WhatsApp chat. About 90% of conversations happen in Arabic, the rest in French.
- Equipment choices. Laptops are the biggest startup item. A TV instead of an interactive panel is the easiest way to save.
- Seasons. Summer and Ramadan are quieter. Short holiday camps help keep revenue coming in those months.
Frequently asked questions
What is the minimum budget to open a coding school in Morocco?
About 194,000 MAD ($19,400) for an Algorithmics franchise center with one classroom, excluding renovation and the rent deposit. The franchise investment itself starts at $15,000.
How much does it cost to add coding courses to an existing education center?
Less than opening from scratch. You already have the space and the admin team, so you mainly pay for the franchise, laptops, and a first round of ads.
How many students do you need to break even?
The example center covered its monthly costs with 43 students in 6 groups in its city. Across the Algorithmics network, break-even is typically 50–68 students, depending on the region. A smaller center in a smaller city needs fewer.
How much do parents pay for coding classes in Morocco?
From 90 to 200 MAD per lesson, depending on the city. Monthly packages at the example center cost 550-650 MAD.
Do I need to renovate the space?
No. A finished office with good lighting and internet is enough to start.
See it in practice, and run your own numbers
These figures come from real Algorithmics partners in Morocco. See how they're building their centers: the inDrive partnership in Casablanca and Bouskoura, the new center in Marrakech, and our partner in Oujda. Learn more about the opportunity in Morocco here.
Get a financial plan for your city → — we'll build the same breakdown for your market, with local rent, pricing, and lead costs, and show you which Moroccan cities are still open.
03.11.2026