In this paper we describe our approach to solve the problem of the simultaneous transesterification of lipids (that requires a basic catalyst) and esterification of FFAs (that requires an acid catalyst) using mixed oxides ad hoc prepared. New mixed oxides based on calcium, cerium and aluminium have been used as catalysts in the reaction of trans-esterification of oils of different composition and quality, namely: i) extra virgin olive oil as a test case (low acidity) and ii) non-edible oil (high acidity), such as that extracted from aquatic biomass (Nannochloropsis sp microalgae). Among the several catalysts used, 12CaO 7Al2O3 7CeO2 has shown unprecedented properties in terms of activity and resistance in the simultaneous transesterification/esterification.