A method for cleaning a medical instrument and for detecting residue thereon is provided in which method a non-sterile or conventionally sterilized medical instrument is exposed to pressure below 100 hPa, and, subsequently, exposed to at least one gas reactive to the residue.