Ghana's authorities have arrested seven serving and retired military personnel, accusing them of plotting to overthrow President John Kufuor.
Kufuor is expected to win the December poll
Officials said the alleged coup plotters' plans involved acts of "destabilisation and sabotage" in the run-up to December's presidential poll.
Ghana's security agencies were said to have been monitoring the threat.
Ghana has suffered a number of coups since independence in 1957, but in recent times has been stable.
Officials gave no names or other details of those arrested.
Ghana's capital Accra was reported to be calm, with no military presence.
President Kufuor is expected to win a second mandate in the 7 December election.
The ballot will be the fourth multi-party polls held in the country since it embarked on its present democratic path.
Mr Kufuor took office four years ago, after former President Jerry Rawlings stood down after a second term in office.
Mr Rawlings had seized power in a coup in 1979 coup when he was a
32-year-old air force pilot.