Surgery to remove the tonsils is called tonsillectomy. In some cases, the adenoids are also removed. This is called adenoidectomy.