The present invention relates to a safety cannula, in particular for extracorporeal blood treatment, comprising a housing and a puncturing cannula having a ground tip, wherein the housing is designed to lie against the skin of a patient during use, and furthermore comprising a safety device which is suitable for automatically pulling the puncturing cannula back into the housing into a protected position when the housing is removed from the skin.