The rectum produces no moisture of its own. With anal sex, lubricant is therefore not an optional extra but a necessity—it reduces friction against a thin, sensitive mucous membrane and makes it easier to relax. The question isn’t whether you should use lubricant, but which one.
Three things determine your choice: whether you use a condom, whether a silicone sex toy is involved, and how long it needs to last. Based on those, the answer is almost always one of the following.
Silicone-based lubricant — when it’s just bodies, possibly with a latex condom, or toys made of glass and metal. It doesn’t dry out, rarely needs reapplying, and isn’t washed away by bodily fluids.
Water-based lubricant — when a silicone toy is used, or when you want something that can be rinsed away with just water. It works with all condoms and all toys, but it dries out faster and needs reapplying.
Oil-based — for example coconut oil, baby oil, or petroleum jelly (Vaseline) — doesn’t work with latex and polyisoprene condoms. Lubricants that numb should be avoided entirely, regardless of the base. That’s explained further down.