Pencil-in-cup deformity is a rare bone and joint condition usually associated with a severe form of arthritis called arthritis mutilans. On a scan, the affected bone may seem pointed, like a sharpened pencil, and it may wear away at a nearby surface, which becomes cup-like.