A SPE/GC-MS method for separation and determination of carbazoles in crude oil was developed.Alumina and silicic acid solid-phase extraction(SPE) columns were used to separate resin from crude oil and neutral nitrogen compounds from nitrogen riched resin.Carbazole and its alkylation series were quantitatively analysed by use of deuterate carbazole as an internal standard and the 9-benzocarbazole as an recovery rate standard.The modified method was very suitable for batch processing in organic geochemistry owing to its low cost,time saving,environmental friendliness.