The funeral was accompanied by a salute of 21 guns.
The crowd of Cubans gathered at the entrance to the cemetery, who sang the national anthem and chanted "Live long, Fidel!".
The ceremony lasted more than an hour.
Fidel Castro died on November 25 at the age of 90 years. In Cuba, a nine-day national mourning was declared from November 26.
The permanent head of Cuba Fidel Castro led the country from 1959 to 2008. After him, his 84-year-old brother Raul Castro is ruling the country.