What a keyway is and why you need to identify yours

A keyway is a slot or groove cut into your engine's crankshaft, camshaft, or other rotating parts. A metal key sits in that slot and locks a pulley, gear, or sprocket in place so it turns together with the shaft instead of spinning freely. If the keyway wears out, breaks, or becomes damaged, the component bolted to it will slip and your engine won't run properly—or at all.

Identifying your keyway matters because different engines use different keyway sizes and shapes. When you need to replace a pulley, timing gear, or any component that rides on a keyed shaft, you have to match the keyway dimensions exactly. Using the wrong key or forcing a part onto a mismatched keyway can strip the slot, damage the shaft, or cause the component to fail suddenly while you're driving.

The identification process is straightforward: you measure the keyway's width, depth, and length, then compare those numbers to your engine's service manual or parts catalog. Knowing your keyway type also helps you order the correct replacement key if yours has sheared or bent.

Key Takeaways

  • A keyway is a rectangular slot cut into a shaft that holds a metal key, which locks pulleys and gears in place so they rotate with the engine.
  • Keyway sizes vary by engine make, model, and year, so you must identify your specific keyway before ordering replacement parts or keys.
  • You identify a keyway by measuring its width, depth, and length, then cross-referencing those measurements against your engine's service manual.
  • A worn, broken, or stripped keyway causes pulleys and gears to slip, leading to belt misalignment, timing problems, and engine damage.
  • If a key breaks or shears, you can replace just the key without removing the shaft—but only if you know the exact keyway dimensions.

How to measure your keyway

Start by locating the shaft with the keyway you need to identify. On most engines, the crankshaft keyway is at the front, where the harmonic balancer and crankshaft pulley bolt on. The camshaft keyway is usually near the front as well, where the timing gear or sprocket attaches. Consult your engine's service manual to pinpoint the exact location if you're unsure.

Use a ruler or caliper to measure three dimensions: the width of the slot (measured side to side), the depth of the slot (measured from the top of the shaft to the bottom of the groove), and the length of the slot (measured along the shaft). Write these numbers down in millimeters or inches, depending on your engine's documentation. Most keyways are rectangular, but some older or specialty engines use different profiles—if the slot appears tapered or has an unusual shape, photograph it and bring the image to a parts supplier or mechanic.

If the keyway is difficult to access or you're uncomfortable measuring it yourself, a mechanic or machine shop can do this quickly. Many shops have calipers and gauges designed specifically for keyway measurement and can tell you the standard size within minutes.

Common keyway sizes and what they fit

Most automotive engines use a small number of standard keyway sizes. A common crankshaft keyway on small-block V8 engines is 3/8 inch wide by 3/8 inch deep, with a length of 1.5 to 2 inches. Four-cylinder engines often use smaller keyways, around 1/4 inch wide by 1/4 inch deep. Diesel engines and large-displacement engines may use larger keyways, up to 1/2 inch or more.

The key itself—the metal piece that sits in the keyway—is sized to match. A 3/8-by-3/8 keyway takes a 3/8-by-3/8 key, and so on. Keys are usually made of mild steel and are inexpensive to replace, but you must order the correct size. Using a key that is too small leaves a gap, and the component will slip. Using a key that is too large will not fit into the keyway at all.

Your engine's service manual lists the exact keyway and key size for your specific year, make, and model. If you do not have the manual, a parts supplier can look up the information using your vehicle identification number (VIN) and engine code. Never guess at the size—ordering the wrong key or trying to force a part onto a mismatched keyway can cause expensive damage.

Signs that your keyway is damaged

A worn or damaged keyway usually shows itself through visible slipping or noise. If your serpentine belt is misaligned or fraying, or if your crankshaft pulley appears to be rotating slightly out of sync with the rest of the engine, the keyway may be stripped. A grinding or squealing noise that changes with engine speed can also indicate a loose component caused by keyway wear.

If you remove a pulley or gear and find that the key is bent, sheared, or missing, the keyway itself may also be damaged. Look inside the slot for cracks, flaking, or a widened groove. If the keyway looks intact but the key is broken, you may be able to replace just the key. If the keyway is visibly damaged, the shaft usually needs to be replaced or repaired by a machine shop.

Damage to a keyway can happen gradually through normal wear, or suddenly if a component seizes or the engine is over-revved. Catching the problem early—before the shaft itself is damaged—is much cheaper than waiting until the keyway is completely stripped or the shaft has cracked.

When to replace a key versus the entire shaft

If the keyway itself is undamaged but the key is bent or broken, you can replace just the key. Remove the component (pulley, gear, or sprocket) that rides on the shaft, slide out the old key, and install a new one of the same size. This is a straightforward job that takes minutes and costs only a few dollars for the replacement key.

If the keyway is cracked, widened, or otherwise damaged, the shaft must be replaced or sent to a machine shop for repair. A machine shop can sometimes weld and re-machine a damaged keyway, but this is more expensive than replacing the key and is only worth doing if the shaft itself is valuable or difficult to source. For most engines, replacing the shaft is the practical choice.

Your mechanic or a machine shop can inspect the keyway and tell you whether a straightforward key replacement will solve the problem or whether the shaft needs to come out. Do not ignore a broken key—driving with a slipping pulley or gear can damage belts, throw off engine timing, and lead to overheating or stalling.

How keyway damage affects engine performance

A slipping keyway disrupts the precise timing and power transfer that your engine depends on. If the crankshaft keyway is damaged, the harmonic balancer or pulley may slip, throwing off the timing of the serpentine belt and causing the alternator, water pump, and air conditioning compressor to run at the wrong speed. This can lead to undercharging of the battery, overheating, and loss of air conditioning.

If the camshaft keyway is damaged, the timing gear or sprocket slips, and the valves open and close at the wrong time relative to the pistons. This causes misfires, rough idle, loss of power, and poor fuel economy. In severe cases, a slipping camshaft can cause the valves to collide with the pistons, resulting in catastrophic engine damage.

Catching and fixing a keyway problem before it cascades into other failures is far cheaper than repairing a bent valve, a cracked piston, or a seized water pump. If you notice any sign of a slipping pulley or gear, have it inspected when ready.

Keyway identification for different engine types

Gasoline engines, diesel engines, and specialty engines (marine, industrial, or high-performance) all use keyways, but the sizes and standards vary. A standard automotive gasoline engine uses SAE (Society of Automotive Engineers) keyway sizes, which are well-documented and widely available. Diesel engines often use larger keyways because they produce more torque. Marine and industrial engines may use metric keyway sizes or non-standard dimensions.

If you are working on an older engine, a rebuilt engine, or an engine from a different country, the keyway size may not match modern standards. In these cases, bring the shaft or a clear photograph to a machine shop or specialty supplier. They can measure the keyway and either source a matching key or advise you on whether the shaft can be re-machined to accept a standard key.

Always verify the keyway size against your engine's documentation before ordering parts. A parts supplier can look up the information by VIN and engine code, but if you have any doubt, ask a mechanic to confirm the measurement.

Frequently Asked Questions

Can I drive with a broken key in the keyway?

No. A broken key means the component is no longer locked to the shaft and will slip. This causes belt misalignment, loss of alternator output, overheating, or timing problems. Stop driving and have the key replaced before you damage the engine further.

What happens if I use the wrong size key?

A key that is too small will not fill the keyway, and the component will slip. A key that is too large will not fit into the slot at all. Either way, the component cannot be locked securely to the shaft. Always match the key size to the keyway dimensions.

How much does it cost to replace a keyway?

Replacing a key costs a few dollars. If the shaft must be replaced, the cost depends on the engine and the part—anywhere from $50 to $500 or more. A machine shop repair to re-machine a damaged keyway typically costs $100 to $300, but is only practical if the shaft is expensive or hard to find.

Can I identify a keyway without removing the component?

You can measure the width and depth of a keyway without removing the component if you have access to the slot. However, measuring the length is easier once the pulley or gear is off. If you are unsure, a mechanic can remove the component and measure the keyway in a few minutes.

Do all engines use the same keyway size?

No. Keyway sizes vary by engine make, model, year, and displacement. A small four-cylinder engine uses a smaller keyway than a large V8. Always look up your specific engine's keyway size in the service manual or parts catalog before ordering a key or replacement part.