Japan is switching off its last working nuclear reactor, as part of the safety drive since the March 2011 tsunami triggered a meltdown at the Fukushima plant.
The third reactor at the Tomari plant, in Hokkaido prefecture, is shutting down for routine maintenance.
It leaves Japan without energy from atomic power for the first time for more than 40 years.
Until last year, Japan got 30% of its power from nuclear energy.
Hundreds of people marched through Tokyo, waving banners to celebrate what they hope will be the end of nuclear power in Japan.
Since the Fukushima disaster, all the country's reactors have been shut down for routine maintenance. They must withstand tests against earthquakes and tsunamis, and local authorities must give their consent in order for plants to restart.
So far, none have.
Two reactors at the Ohi plant in western Japan have been declared safe. The government says they should be restarted to combat looming shortages.
However, regional authorities would still have to give their approval.
Ministers have warned Japan faces a summer of power shortages.
The BBC's Roland Buerk, in Tokyo, says the government could force the issue, but so far has been reluctant to move against public opinion.
Organisers of the anti-nuclear march in the capital estimated turnout at 5,500.
Demonstrators carried banners shaped as giant fish. The "Koinobori" banners, traditionally the symbol of Children's Day, have been adopted by the anti-nuclear movement.
"There are so many nuclear plants, but not a single one will be up and running today, and that's because of our efforts," campaigner Masashi Ishikawa told the crowd.
Engineers began the process of shutting down the final Tomari reactor, inserting control rods to bring the fission process to an end.
All operations at the plant will have stopped by 14:00 GMT, a spokesman told Associated Press.
Japan will then be without nuclear power for the first time since 1970.
Businesses have warned of severe consequences for manufacturing if no nuclear plants are allowed to re-start.
In the meantime, Japan has increased its fossil fuel imports, with electricity companies pressing old power plants into service.
If the country can get through the steamy summer without blackouts, calls to make the nuclear shutdown permanent will get louder, our correspondent says.
The six-reactor Fukushima Daiichi nuclear plant was badly damaged by the March 2011 earthquake and tsunami.
Blasts occurred at four of the reactors after the cooling systems went offline, triggering radiation leaks and forcing the evacuation of thousands of people.
A 20km (12m) exclusion zone remains in place around the plant.