Dry socket (alveolar osteitis) is a painful dental condition that sometimes happens after you have a permanent adult tooth extracted.