The short answer
Wood glue does stick to end grain, but the bond is usually much weaker than glue on long grain. A plain end-grain-to-end-grain joint such as a butt joint is generally not trusted to carry load. If strength matters, reinforce the joint or choose a joint that adds long-grain gluing surface.
Why end grain is a weak glue surface
The cut end of a board exposes the open ends of the wood’s tubular fibers. They act like straws and draw in glue, so little remains on the surface to bond. The glue that soaks in also offers little grip, and what is left does not hold well. Long grain surfaces, by contrast, have a lot of fiber surface for glue to grab and make strong joints.
Sizing end grain
Some woodworkers “size” end grain before gluing it, by brushing on a thin coat of glue (sometimes thinned with water) and letting it soak in and become tacky, then applying a fresh coat for the joint proper. This can reduce starving the joint, so there is more glue left at the surface. It can improve results somewhat, but it does not turn end grain into long grain. Use this for light-duty work, not for joints that must hold weight.
Better ways to join end grain
When you need strength, add structure to the joint:
- Dowels, biscuits or splines, which add long-grain surfaces and align parts. See how to make a dowel joint.
- Mortise and tenon or half lap joints, which give lots of glue surface. See how to make a mortise and tenon joint and how to cut a half lap joint.
- Pocket screws or screws, which add mechanical strength. See how to use a pocket hole jig.
- Corner blocks or gussets glued to long grain behind a corner.
- Dovetails and finger joints, which interlock and place glue on long grain, such as when you cut dovetails by hand.
For a broader look at fixing weak joints, see how to strengthen a butt joint.
When a plain end-grain joint is fine
Some end-grain joints are fine because they carry little stress: a small decorative frame, a lightweight box, or parts held by a back panel. Miters are partially end grain too, and are commonly reinforced with splines or keys. Cutting them accurately helps, as in how to cut tight miter joints.
Whichever approach you choose, good fit, a thin even coat and appropriate clamping apply, as explained in how to glue wood together properly. Water-resistant or gap-filling glues such as epoxy can help in some cases, though none removes the end-grain limitation. See types of wood glue.