Pham Minh Hoang, 56, who holds dual nationality, had undermined national security, chief judge Vu Phi Long said at the close of a trial that lasted half a day.
Long said Hoang wrote 33 articles under the pen name Phan Kien Quoc, “blackening the image of the country” and aiming to overthrow the government.
France’s foreign ministry had earlier voiced “serious concern” about Hoang’s case.
Dozens of peaceful political critics have been sentenced to long prison terms since Vietnam launched a crackdown on free expression in late 2009, according to Amnesty International.
Hoang expressed regret and asked for leniency, saying he did not know he was violating the law.
“My writings were not aimed at overthrowing anyone,” he testified. “I only pointed out the negative things in society, and I think the country needs to be more democratic.”
His lawyer, Tran Vu Hai, said Hoang was not well known on the Internet and was only exercising his right to free speech, drawing on his experience in France “where there is a civilised education environment”.
Hoang admitted that he joined US-based opposition group Viet Tan in 1998 but said he was not acting under their instruction.
Viet Tan, the Vietnam Reform Party, describes itself as non-violent and pro-democracy but Vietnam labels it “terrorist”.
Reacting to the verdict, Viet Tan said Hoang had engaged in peaceful activities that aimed to improve Vietnam.
“Rather than uniting the country to deal with the grave threats from China, the Hanoi authorities remain focused on suppressing domestic dissent,” it said.
The year Hoang has already spent in custody will count towards his jail sentence, which will be followed by a further three years of house arrest, the judge ruled.
Other dissidents have previously been convicted on the same charge, which carries a maximum 15 years in prison.
Plainclothes and uniformed security officers were seen on the streets outside the French colonial-era courthouse where the trial took place.
One policeman tried to stop an AFP photographer from taking pictures of officers, who were armed with clubs.
The trial came two weeks after Prime Minister Nguyen Tan Dung was named to a second term after consolidating his power, which activists fear heralds a tougher climate for dissidents in the one-party communist state.
“Vietnam is increasingly the target of criticism for its human rights violations,” the Reporters Without Borders campaign group said in a letter to Dung last week.
Foreign diplomats, including one from France, were allowed to monitor the trial via television from a separate room. An AFP reporter was also granted access.
Hoang went to France in 1973 but returned home after 27 years to work as a mathematics lecturer at the Polytechnic University of Ho Chi Minh City, his wife has said.
Last week an appeal court in Vietnam upheld a seven-year jail term against French-trained legal expert Cu Huy Ha Vu, who had twice tried to sue the prime minister.
Both the United States and European Union expressed concern over the ruling, as they had days earlier when Vietnam returned to prison another prominent dissident, Nguyen Van Ly, a Catholic priest with a brain tumour.
Late Tuesday Hanoi said the US and EU had interfered in Vietnam’s internal affairs by commenting on the Vu appeal. The foreign ministry insisted that there are “no so-called ‘prisoners of conscience'” in Vietnam.