On August 18, Senegal's National Assembly raised its hand 129 times out of 165 to do something big for workers: rewrite the country's entire labor law for the first time in nearly three decades. The new Code du Travail, a 458-article document spread across 15 titles, replaces an aging 1997 law that was struggling to keep up with a very different world of work.

Why does this matter? Because the last time Senegal updated its labor rules, the internet was barely a thing, smartphones didn't exist, and almost nobody had heard of working from home. Now, remote work is officially part of the law — and not as a second-class option. Teleworkers get equal treatment with colleagues in the office, the right to disconnect after hours, and even recognition, under certain conditions, of accidents that happen at home as work accidents)SkipThat is a heavyweight moment. Paper payslips and clunky administrative steps can now also go digital.

New mothers get a genuine raise too. Maternity leave jumps from 14 weeks to 18, and nursing rest is spread over 20 months. The law sets the minimum working age at 16 and adds fresh shields against violence, harassment, and discrimination at work. It even puts limits on how employers can use video surveillance, geolocation, and biometrics to keep an eye on people.

The rules around fixed-term contracts (the kind that end after a set period) got more flexible — they can now run up to four years instead of two, with up to three contracts in a row. But there's a safety net: if an employer goes past the limits, the contract automatically becomes a permanent one.

Job security gets a makeover too. Before an employer can let people go for economic reasons, they must first consider a "social plan" as a negotiated alternative. When there's not enough work, a worker can be put on technical unemployment for at most a year, and they're guaranteed at least half their average pay during that time. And on safety, employers now have to assess risks and set up prevention programs, while workers gain the right to walk away from a serious and imminent danger.

Perhaps the most meaningful change for an average worker: to take a labor dispute to court, you no longer have to go through a mandatory mediation step first. You can go straight to a judge — faster access to justice for people who might otherwise give up.

On the same day, with the same 129 votes, the Assembly passed a companion law creating universal health insurance built on three pillars for salaried workers, self-employed people, and medical assistanceWhat happens next matters, but the direction is clear: Senegal spent three decades catching up to its own future, and the new law now points where the country is headed.