Work through it in this order
Start at step 1. Most doors that won't close get fixed before step 4.
Safety sensor misalignment or obstruction
Check both sensors mounted near the floor on either side of the track. Wipe both lenses clean, since dust or spiderwebs alone can trigger a false reading. Remove anything sitting in the beam path between them, including stored items that may have been moved closer to the track recently. Confirm both lights show solid, steady on, not blinking.
Close-force or travel-limit setting too sensitive
If the sensors check out clean, the opener itself may be reversing because its force or limit settings think it's hitting resistance before the door reaches the floor. This adjustment varies by opener brand and model, so check your unit's owner's manual for the specific dial or menu location rather than guessing at settings.
Something physically obstructing the door's path
Check the track and the floor along the door's path for debris, and confirm the door isn't binding on a section of bent track. Sometimes the door is stuck because it's off track, which can also cause it to refuse to close, and that's a different fix than a sensor issue.
Wall control button or remote stuck or faulty
A wall button that's physically stuck, or a remote sending a conflicting signal, can interrupt a close cycle. Test the wall-mounted control directly to isolate whether the problem is coming from a remote or the button itself.
Opener logic board issue
This is rare, but if everything above checks out and the door still won't close consistently, the opener's logic board may be the underlying cause. This is typically where DIY troubleshooting stops and a technician takes over.
Door starts closing, then reverses
This is the most common and most confusing pattern homeowners run into, since the door clearly has power and is trying to close. It's almost always a sensor issue (step 1) or a force-limit setting that's too sensitive (step 2). Work through those two first before assuming anything mechanical is wrong.
Door won't respond to the close command at all
This variant points more toward a remote, wall-button, or opener power problem rather than sensors, since the door isn't attempting to move at all. If a door that won't open in the first place sounds closer to what you're seeing, that page's opener-power troubleshooting covers the electrical side in more depth.