Samples of coffee were digested by microwave digestion, and inorganic elements amounts of Na, Mg, P, Ca, Cr, Mn, Fe, Co, Cu, Zn, As, Se, Mo and Pb in sample solutions were determined by inductively coupled plasma mass spectrometry (ICP-MS). HNO3 + H2O2 was used to achieve the complete decomposition of the organic matrix in a closed-vessel microwave oven. The working parameters of the instrument were optimized. The results showed that the relative standard deviation (RSD) was less than 3.84% for all the elements, and the recovery was found to be 92.00% -106.52% by adding standard recovery experiment. This method was simple, sensitive and precise and can perform simultaneous multi-elements determination of coffee, which could satisfy the sample examination request and provide scientific rationale for determining inorganic elements of coffee.