An anorectal or perirectal abscess
is a painful infection under the skin near the anal opening.
Sometimes there can be redness and painful swelling near the anus. Antibiotics may help, and often surgery is needed to open and drain out the infection. Untreated, the infection can enlarge or spread into deeper tissues.