No—not directly, and not as the sole support. In standard U.S. residential construction, a light fixture must be mounted to an electrical box that is itself securely attached to the building structure—a ceiling joist, wall stud, or a listed brace/bar or blocking—or, for suitably light fixtures, to a box specifically listed and installed for drywall-only support; driving screws through drywall alone does not provide a secure or code-compliant mount. The key qualifier is what “screwed into drywall” means: a fixture screwed directly to bare drywall with ordinary screws or drywall anchors is not an acceptable method, while a fixture attached to a proper electrical box that is anchored to the framing or to a listed remodeling box designed for the purpose is.
What “screwed into drywall” can mean
The question contains an ambiguity that changes the answer entirely, so it is worth separating the plausible readings.
Fixture screwed directly to the drywall. Wood screws, drywall screws, or generic anchors go through the fixture’s mounting holes and into the gypsum board, with no electrical box or framing involvement. This is the method that fails and is a code violation. Drywall is a brittle, friable panel with very limited pull-out strength; screws in it loosen under vibration, heat cycling, and the static load of a fixture, and once one anchor pulls through, the load transfers to the remaining fasteners and the assembly can drop. The retrieved trade and DIY sources describe the same failure mode, including a fluoresfixture that “literally fell out” after being installed with wood screws into drywall.
Fixture screwed to an electrical box that is supported only by drywall anchors. This is a different case and can be acceptable in narrow circumstances. A box listed for drywall-only installation—commonly called a remodeling box or old-work box, with tabs or wings that clamp the back of the drywall—can support a luminaire within the box’s listed weight and the fixture’s instructions. The physical support is still the drywall, but the load path is designed and tested, whereas a screw driven straight into gypsum is not.
Fixture screwed to a box anchored to framing. A ceiling box nailed or screwed to a joist, or carried on an adjustable bar or telescoping strap screwed to joists on either side, then the fixture screwed to the box. This is the conventional and most robust approach, and the one Fine Homebuilding’s mounting guide describes as standard practice.
Why the direct-screw method fails
Drywall is not a structural substrate in the sense people intuitively assume. Its compressive strength is reasonable, but its resistance to a concentrated pull-out load is poor, and ordinary drywall screws are designed to hold panels against framing, not to resist a hanging load. A light fixture hanging from a ceiling imposes a constant downward force plus dynamic loads: someone cleaning it, a door slamming, vibration from upstairs traffic, thermal expansion of the fixture housing, and the torque of changing a bulb. Each cycle works the fastener slightly; gypsum crumbles around the threads, and the anchor’s bearing area shrinks.
The failure is also deceptive because it is slow. A fixture may feel rigid for months. The retrieved maintenance source makes exactly this point: the fixture “may appear stable, but an impact or even the weight of the fixture itself can be enough to loosen the screws.” That is why inspection after installation is not a reliable test.
There is a code dimension too. The National Electrical Code, in the provisions governing luminaire support (Article 410 in the current editions), requires luminaires to be supported by the outlet box or by other listed means, and it sets weight limits tied to the box and its support. Local amendments and the adopted edition vary, so the exact section and limits must be checked against the code edition in force where the work is done; the principle is that the box, not the drywall surface, carries the fixture, and the box must be listed for the load and the installation method.
The acceptable drywall-adjacent methods
Old-work (remodeling) boxes. These clamp to the back of the drywall with wings or tabs. They are listed for a stated weight, and the fixture instructions and box listing govern whether a given fixture qualifies. They are appropriate for light fixtures in drywall where no framing is reachable and the fixture is light—compact flush-mount ceiling lights, small wall sconces, and similar. They are not a substitute for a fan-rated or heavy-fixture box.
Adjustable bar hangers. A metal bar spans between two joists, and the box slides along it and locks in place. Fine Homebuilding notes this method “works fine” and has the practical advantage of letting you position the fixture where you want it rather than where a joist happens to be.
Blocking. If the ceiling is open or accessible from above, solid wood blocking between joists gives a direct fastening surface for a standard box.
Direct-to-joist or stud. A conventional round ceiling box or wall box nailed or screwed to framing, with the box face flush with the finished surface. This may require cutting and patching drywall to reach the framing.
Fan-rated boxes for heavy fixtures. Fine Homebuilding’s guide flags that most bar-and-box assemblies are rated for 50 pounds and that a fixture heavier than that needs a fan box. Chandeliers, large pendants, and anything with a substantial canopy should be checked against the box rating rather than assumed.
Weight, fixture type, and location matter
The distinctions that actually decide the method are not “drywall versus no drywall” but weight, ceiling versus wall, and whether the fixture moves or vibrates.
A 2-pound flush-mount ceiling light on a listed old-work box in sound drywall is a normal installation. A 30-pound chandelier on the same box is not. A ceiling fan—even a light one—needs a box listed for fan support, because the rotational and oscillating loads are different from a static luminaire. A wall sconce over a vanity is a comparatively easy case; a surface-mounted fluorescent strip above a sink, the example in the retrieved installation account, is heavier and longer and puts more leverage on its fasteners, which is why the drywall-screw installation there failed.
Soundness of the drywall also matters. Old-work boxes rely on the panel’s integrity around the opening. Water-damaged, crumbling, patched, or double-layer drywall changes the calculation, and a box that clamps to a compromised panel is not reliably supported even if it is listed for the fixture’s weight.
What to check before installing
Confirm the fixture’s weight and read its installation instructions, which specify the mounting method and often the box type. Check the box’s listing and markings for its weight rating and whether it is fan-rated. Verify the box is rigid and its face is flush or slightly recessed per the fixture’s canopy design, since a canopy that cannot seat against the ceiling or wall leaves the fixture rocking on its screws. Confirm the circuit is off at the breaker and that the box is grounded, as the mounting guide stresses—metal boxes, brackets, and fixtures must be grounded, and the fixture’s ground wire connects to the box ground or grounding screw.
Where the answer stops applying
This answer reflects U.S. residential practice and the general principle of the NEC as described; it is not a substitute for the code edition, local amendments, and listing instructions that govern a specific installation. Commercial construction, manufactured housing, and other jurisdictions have their own rules. Ceiling fans, heavy chandeliers, and fixtures in wet or damp locations add requirements beyond the scope of the question. A fixture that is part of a listed assembly with its own mounting system—some linear and grid-integrated lights, for example—follows the manufacturer’s installation instructions, which may permit fastening into specific drywall grid components rather than conventional framing.
The short version: the drywall can be part of the support system only through a listed box designed for that use, within its rated weight, and never as the direct recipient of the fixture’s screws.