► A direct sampling GF AAS method to determine As and Cd in crude oil was proposed. ► The conventional chemical modifier Pd/Mg has been used to stabilize As and Cd. ► Calibration curves with aqueous standards have been used for both analytes. ► The validation was performed by CRM analysis and comparison with digestion method.