A novel magnetic field sensor by using an optical fiber Bragg grating (FBG) cascaded by a cleaved optical fiber end, which is face surrounded with magnetic fluid (MF), is experimentally demonstrated. Through Fresnel reflection (FR) of the fiber end face, side mode suppression ratio (SMSR) of reflection spectrum of the FBG is tuned by refractive index (RI) of the MF, which is sensitivity to the external magnetic field. As a result, magnetic field measurement is successfully achieved. Compared with previously reported methods based on FR of a fiber end only, it eliminates the influence of power level fluctuation of the optical source and therefore improves the measurement accuracy and stability. Furthermore, temperature can be measured simultaneously by monitoring wavelength shift of the FBG.