The invention describes a new methodology for detection of beta-lactamases produced by Gram-negative bacteria using mass spectrometry, especially a detection of resistance of Gram-negative bacteria to beta-lactam antibiotics.