Yes, a pull cord on a ceiling light can be replaced, but the exact method depends on whether the cord is a simple knob-and-string on a switched fixture or the operating chain of a ceiling fan, and on whether the broken part is the cord itself, the pull-chain switch, or the socket—so identify the failing component first and shut off power at the breaker before touching anything.

The query is ambiguous in a common way. "Ceiling light's pull cord" covers at least three different things in American homes: (1) a plain pendant or flush fixture with a short string and a plastic or wooden fob that switches the lamp on and off, (2) a ceiling fan with a pull chain that controls the fan and often a light kit, and (3) a fixture whose pull chain operates a socket-mounted switch inside the canopy or at the lamp holder. The replacement procedure, the parts, and even whether the repair is worth doing differ across these cases. Nothing in the query specifies which one is present, the fixture's age or make, or whether the cord has snapped, the switch has failed, or the chain simply came off its fob. The answerable core is the principle: cords and fobs are consumable, replaceable parts; the switch they actuate is a separate component with its own replacement path; and the work is straightforward low-voltage-free handiwork only if the circuit is genuinely dead.

Identifying what actually failed

Before buying anything, determine which part is broken, because the fix changes accordingly.

If the string or chain is intact but the light no longer responds, the problem is usually the pull-chain switch inside the fixture, not the cord. Replacing the cord will not help. If the cord has snapped off flush with the fixture body, you may be able to fish out the remaining link or bead and attach a new cord, but if the break is inside the switch housing, the switch itself typically needs replacement.

If the chain or cord is merely missing its decorative fob—common with wooden or ceramic pulls that unscrew—you only need a new fob, not a new cord. Many fobs attach with a small screw, a split ring, or a friction fit over the last bead or knot.

If the fixture is a ceiling fan, the pull chain usually runs through a pull-chain switch in the fan's switch housing, and fan chains are frequently bead chains rather than cord. Fan replacements follow fan-specific parts (chain, fob, switch), and the fan's capacitor and wiring make the housing more crowded than a simple light.

A useful diagnostic: with the power off, tug gently on the remaining cord. If it moves freely and clicks, the switch is probably fine and only the cord/fob is missing. If it feels loose, falls inside, or does not click, suspect the switch.

Safety first: the breaker, not the wall switch

The single most important step is removing power at the circuit breaker, not relying on the wall switch. A pull-cord fixture is often on a switched circuit, and the wall switch may be off while the fixture's box still holds live conductors—especially in older wiring where the switch leg is not what you assume. Turn off the breaker that feeds the room, then verify with a non-contact voltage tester at the fixture before working. If the fixture is on a circuit you cannot identify, turn off the main breaker or call an electrician.

Two further cautions apply. First, ceiling fixtures are heavy and awkward overhead; use a stable ladder and have someone spot you, or work with the fixture supported. Second, in older homes, the wiring at the fixture may be cloth-insulated or aluminum, and disturbing it can create a hazard—if the conductors look deteriorated, stop and get an electrician.

This is a low-stakes, ordinary repair in the sense that it involves no medical, legal, or financial decision, but it is still line-voltage electrical work. The safety framing belongs in the how-to, not in a formal disclaimer.

Replacing a simple pull cord or fob

For a basic pendant or flush fixture where the cord is a string with a fob:

1: Kill the breaker and verify dead. Test at the lamp holder and at the cord entry if accessible. 2: Remove the old cord. If a fob is present, unscrew or unclip it. If the cord passes through a small grommet or hole in the canopy or lamp holder, pull it out from below. Note how it was routed and knotted—many cords are knotted inside to keep them from pulling through. 3: Match the replacement. Pull cords are sold as cord stock (often braided nylon or cotton) with fobs, or as pre-made assemblies. Match the diameter to the original hole or grommet; too thick and it will bind, too thin and it may slip. Bead-chain fobs for fans use a different gauge than lamp cord. 4: Thread and secure. Feed the new cord through the same path, tie an overhand knot inside the housing if the original had one (the knot bears the pull load and prevents the cord from being yanked out of the switch), and attach the fob. Trim the tail neatly. 5: Restore power and test. Operate the cord several times. If the light does not switch, the switch—not the cord—is the problem.

A common mistake is to pull the old cord out before noting its routing, then discover the new cord will not feed through the internal channel. Photograph the arrangement before disassembly.

When the pull-chain switch is the real culprit

If the cord is fine but the fixture will not switch, the pull-chain switch inside the lamp holder or canopy must be replaced. These are inexpensive, standardized parts—single-pole, two-circuit, or three-way pull switches depending on the fixture—but they are not universal. The replacement must match the original's terminal arrangement and current rating, and the fixture must be opened enough to access the switch. On many lamp holders, the switch is integral to the socket and the whole socket is replaced; on others, the switch is a separate module.

The procedure: breaker off and verified, remove the fixture's shade and bulb, open the lamp holder or canopy, photograph the wiring, disconnect the switch, and install the matching replacement with the same terminal connections. Reassemble and test. If the fixture's internal wiring is brittle or the socket is corroded, replacing the entire lamp holder or fixture is often safer and simpler than chasing the switch.

Ceiling fans are a separate case

Fan pull chains operate multi-position switches (fan off/low/medium/high, and often a separate light chain). The chain is usually a bead chain, and the fob is a decorative weight. Replacing a fan chain means opening the switch housing, which contains the pull-chain switch, the capacitor, and the wiring to the motor and light kit. The chain connects to the switch by a small clip or by threading through the switch's actuator. If the chain snapped at the switch, the switch usually must be replaced; if it snapped at the fob, you can reattach a new fob or splice a new length of bead chain with a connector.

Fan work is more crowded and less forgiving than a simple lamp, and miswiring the switch or capacitor can damage the fan. If the fan is remote-controlled or has a wall control, the pull chain may be redundant, and the fix may be to leave it or remove it cleanly rather than restore it.

Parts, cost, and when to call an electrician

Pull cords, fobs, bead chain, and pull-chain switches are inexpensive commodity parts sold at hardware stores and home centers; exact prices vary by store and date and are not something to rely on from memory. The real cost is time and the risk of overhead work. A simple cord or fob swap is a minutes-long job for a careful DIYer. A switch replacement inside a fixture is a moderate job. Anything involving opening a fan housing, deteriorated wiring, aluminum conductors, or a fixture you cannot confidently de-energize is a job for a licensed electrician.

Call an electrician if: you cannot confirm the circuit is dead; the wiring is cloth, aluminum, or damaged; the fixture is heavy or mounted in a way you cannot safely support; the switch replacement does not restore operation; or you find scorching, melted insulation, or a burning smell—those indicate a fault that a cord swap will not fix.

What is unknown here, precisely

The query does not state the fixture type (lamp, fan, or something else), whether the cord is string or bead chain, whether the cord is broken or the switch has failed, the fixture's make or age, or the home's wiring condition. Those details determine the exact parts and steps. What is answerable without them is the decision framework above: identify the failed component, de-energize at the breaker and verify, match the replacement part to the original, and escalate to an electrician when wiring or access is questionable. The general principle—cords and fobs are replaceable consumables, switches are separate serviceable parts, and safety depends on verified de-energization—holds across all three fixture types.