Biodiesel fuel is considered as an alternative to diesel fuel. This fuel is produced through transesterification reactions of vegetable oils or animal fat by alcohols in the presence of different catalysts. Recent studies on this process have shown that, basic heterogeneous catalysts have a higher performance than other catalysts. In this study different alkali earth metal oxides (CaO, MgO and BaO) doped SiO2 were used as catalyst for the biodiesel production process. These catalysts were synthesis by using the sol-gel method. A transesterification reaction was studied after 8h by mixing corn oil, methanol (methanol to oil molar ratio of 16:1), and 6 wt. % catalyst (based on oil) at 60C and 600rpm. Catalyst loading was studied for different catalysts ranging in amounts from 40, 60 to 80%. The purity and yield of the produced biodiesel for 60% CaO/SiO2 was higher than other catalysts and at 97.3% and 82.1%, respectively.