Protesters clashed with police in the volatile western Venezuelan city of San Cristobal and the capital Caracas on the anniversary of last year's bloody protest movement.

The anti-government marches recalled four months of protests and violence in 2014, that resulted in the deaths of 43 people. San Cristobal, near the border with Colombia, was an epicentre of the 2014 movement.

venezuela protests
A student is carried away after being injured during a protest against President Nicolas Maduro's government in San CristobalCarlos Eduardo Ramirez/Reuters

National Guard soldiers and police fired teargas and buckshot against demonstrators who hurled pipes and Molotov cocktails when a march was blocked.

Five security officials and three demonstrators were hurt in the nearly two-hour standoff, some shops vandalised, and four students arrested, witnesses and authorities said.

venezuela protests
A police officer runs amid tear gas while protesters throw missiles during a march against President Nicolas Maduro's government in San CristobalCarlos Eduardo Ramirez/Reuters
venezuela protests
Demonstrators talk to police during a march against President Nicolas Maduro's government in San CristobalCarlos Eduardo Ramirez/Reuters

At the Caracas protest, masked students blocked an avenue with burning rubbish and rubble and threw rocks at police, who fired buckshot in a confrontation that lasted until dusk. Witnesses said at least half a dozen youths were arrested in the melee.

Security forces cordoned off several hundred students on an unauthorised march to a church where they planned a mass in honour of dead demonstrators.

venezuela protests
An opponent to the government of President Nicolas Maduro stands by a burning barricade on a street in CaracasJuan Barreto/AFP
venezuela protests
Anti-Maduro protesters empty a truck of rubble onto a street in CaracasFederico Parra/AFP
venezuela protests
Opponents to the government of Venezuelan President Nicolas Maduro light a Molotov cocktail during a protest in CaracasJuan Barreto/AFP
venezuela protests
Police try to apprehend a protester in CaracasFederico Parra/AFP
venezuela protests
Women react as fellow demonstrators are arrested during a protest in CaracasFederico Parra/AFP

In a much larger rival rally, thousands of red-clad supporters of Maduro, the successor to late socialist leader Hugo Chavez who died of cancer in 2013, gathered in a square.

Casting himself as the heir and "son" of Chavez, Venezuela's president is nearing two years in power, but opposition radicals are urging him to resign and more moderate foes are hoping to garner enough signatures for a recall referendum in 2016.

venezuela shortages
People wearing T-shirts with the portrait of former Venezuelan President Hugo Chavez march in CaracasFederico Parra/AFP

Venezuelans are suffering shortages, long shopping queues, high inflation and a recession exacerbated by the plunge in crude oil revenues.

Maduro, meanwhile, said his administration foiled a coup attempt that was supposed to take place on Thursday and he alleged it had US backing. He said five air force officers, including a general, were detained for plotting to use a military jet to bomb the presidential palace.

He provided no evidence or other details.