Mechanical Shafts · Connections

Keys and Splines

A shaft may turn with admirable conviction and still accomplish very little if the gear or pulley around it turns independently. Keys and splines solve that quiet but essential problem: they connect a shaft to a component so that torque can pass from one to the other.

The distinction is easy to picture. A key is a separate piece fitted into matching grooves in a shaft and its hub. Splines are a series of ridges formed on the shaft that engage with corresponding grooves in the mating part. Both make rotation useful; they do so with different arrangements of metal, contact, and load sharing.

The small connection that carries the turning effort

In a rotating machine, a shaft often works alongside a gear, pulley, sprocket, or coupling. The shaft turns, but the attached component must turn with it if power is to travel onward. A key or spline provides a mechanical link between them, resisting relative rotation and transmitting torque across the joint.

It is a deceptively modest job. A belt pulley can look like the main event; a gear may draw the eye with its neat teeth. Yet without a secure connection to the shaft, the component might slip instead of driving the next part. The key or spline is less a supporting actor than a messenger: it carries the twisting effect from one piece to another.

For an introduction to the larger picture, see Torque and Shaft Power and Shaft Basics.

A key, a keyway, and a hub

A typical keyed connection has three players. The shaft is the rotating member; the hub is the central portion of the gear, pulley, or other component fitted around it; and the key is a small component seated in grooves that align across the shaft and hub. Those grooves are called keyways.

When the shaft turns, the side of the key bears against the sides of the keyways. That contact helps prevent the hub from turning freely around the shaft, allowing torque to pass through the joint. The key is therefore not simply a locating pin or a decorative bit of hardware. Its shape, fit, material, and condition matter to the performance of the connection.

Keys come in several forms, and the details vary with the equipment. A familiar parallel key has a broadly rectangular profile; other arrangements may be tapered or designed for particular assembly needs. Naming the type is only the beginning. Dimensions and tolerances must come from the relevant design or equipment documentation, not from an appealing resemblance to a part in a workshop drawer.

Splines: many ridges, one shared task

A splined shaft has multiple ridges, or teeth, running along some portion of its surface. These engage with matching grooves inside a mating component. Rather than relying on one key to transmit the turning effort, a spline connection distributes contact across several teeth.

Depending on its design, a splined connection may also allow a component to slide along the shaft while remaining rotationally engaged. That combination—rotation passed through, with some axial movement still possible—is useful in certain machine arrangements. It is not a universal property of every spline assembly; the intended movement depends on the design and how the parts are retained.

Splines are common in systems where a robust, repeated connection is needed, including some gearboxes and vehicle drivetrains. Their multiple contact surfaces can suit applications where a single key is not the chosen arrangement, though the right choice depends on loads, geometry, manufacturing, assembly, and service conditions.

For a broader comparison of shaft forms, explore Types of Shafts. A splined shaft is one example of how the surface geometry of a shaft can shape the way it connects to the rest of a machine.

Keyed connections and splined connections

At a glance, both arrangements prevent a shaft and hub from rotating independently. The difference lies in how their engagement is made:

Feature Key and keyway Spline
Basic arrangement A separate key sits in aligned grooves in the shaft and hub. Multiple shaft ridges engage with matching grooves in the hub.
Torque connection Torque passes through contact between the key and the keyway surfaces. Torque passes through contact across several engaged teeth.
Possible axial movement Depends on the particular design and how the parts are retained. Some arrangements permit sliding while maintaining rotational engagement.
Design considerations Key and keyway fit, material, loading, and the surrounding shaft geometry. Tooth form, fit, alignment, manufacturing, loading, and intended movement.

This comparison is conceptual. It does not establish that one connection is stronger or more suitable in every application.

A practical idea in the age of interchangeable parts

The story of keys and splines belongs to a larger change in mechanical life: machines became easier to build, repair, and reproduce when their components could be joined in predictable ways. A shaft and a hub need not be made as one indivisible piece. Separate parts can be manufactured, assembled, and replaced—provided their connecting features are designed to work together.

That practical logic helped make keyed joints familiar across workshops and factories. Splines, with their repeated engagement surfaces, became another useful answer as machinery called for different forms of torque transmission and movement. Neither connection is a relic of a single inventor’s dramatic moment. They are examples of engineering’s quieter kind of progress: conventions refined, specified, and repeated until a small interface becomes part of the shared language of machines.

That language depends on precision. A key that appears to fit is not necessarily a correct or safe replacement, and matching a spline by eye is no substitute for identifying its specification. Standardized forms can make components easier to describe and source, but the relevant standard and equipment requirements must still be verified.

Why the details matter

A connection’s performance depends on more than its name. Engineers may consider the torque to be transmitted, the dimensions and fit of the parts, the materials, the nature of the loading, and the way the assembly will be installed and maintained. Shaft features such as a keyway also affect the local geometry of the shaft, so they must be considered as part of the complete design rather than in isolation.

Wear, looseness, damage, or poor fit can compromise a connection. Unusual movement, noise, or vibration may have more than one possible cause; none should be diagnosed from a brief description alone. For related topics, read Shaft Vibration, Shaft Fatigue and Failure, and Shaft and Bearing Maintenance.

These pages offer general learning, not instructions for repairing or modifying a particular machine. Follow the manufacturer’s documentation and applicable site procedures, and consult qualified personnel where inspection or maintenance is required. Rotating equipment can present serious hazards, especially if it is energized or inadequately guarded.

The takeaway

A key is a separate piece that engages aligned keyways; a spline is a set of ridges engaging matching grooves. Both connect a shaft to a hub or other component so that torque can be transmitted. Their resemblance ends at that shared purpose: their geometry, fit, and potential movement differ, and the appropriate arrangement is determined by the machine’s design.

In the larger story of rotating machinery, these connections are small but revealing. They show how a machine’s power depends not only on its motor or its shaft, but also on the carefully specified interfaces that let one part turn the next.

Theme