A simple and fast method for the multi-elemental determination of 18 inorganic constituents (P, S, Cl, K, Ca, Ti, Cr, V, Mn, Fe, Ni, Cu, Zn, Br, Rb, Sr, Ba and Pb) in organic fertilizers employing slurry sampling and total reflection X-ray fluorescence (TXRF) is presented. A 2(3) factorial design with a central point was employed to optimize the slurry sampling procedure. The internal standard and instrumental conditions were optimized by univariate studies. The selectivity of the method to determining Se, As, Pb, Cr, Ni and Cd was assessed. The accuracy was evaluated by the analysis of four standard reference materials (SRM). The recoveries varied from 72% to 114%. For most of the elements, good agreement was achieved between the certified value and the value measured in the SRM. The relative standard deviation (RSD %) ranged from 0.5% to 14%. The evaluated method was applied to the determination of analytes in the press cake of palm, castor, curcas, sunflower, fodder turnip, white lupin, rapeseed and pequi, and their potential to be used as organic fertilizer was evaluated in accordance with Brazilian legislation.