Removing tonsils is a surgical procedure called a tonsillectomy, performed in cases of recurrent tonsillitis, obstructive sleep apnea, or other related conditions. The surgery is done under general anesthesia and takes about 30 minutes to complete.