A simple bicycle seen from the side on a cream panel, drawn in navy lines with gold accents on the wheels and frame, in navy and gold library style.

Starvard University · Bicycle Repair and Commuting 101

Bicycle Repair and Commuting 101

You will keep a bike running yourself and use it to get to work safely and cheaply. Working from the free Wikibooks Bicycle Maintenance and Repair manual and NHTSA safety guidance, this course teaches the parts, the fit, and the repairs every rider needs, then turns a repaired bike into a reliable commute.

Finn

Hello, my name is Finn, and I'm going to help you understand this course.

Here it is, explained like you are 10:

A bicycle is a simple machine you can fix yourself with a few small tools. This course shows you what each part does, how to set the seat and handlebars so riding feels good, and how to fix the most common problem of all, a flat tire. You will also learn to adjust brakes and gears, clean the chain, stay visible in traffic, and plan a ride to work or school that you can repeat every day.

The whole course in brief

What you will be able to do after this course

  1. Name the parts of a bicycle and say what each one does, from headset to hub.
  2. Set saddle height, handlebar position, and reach so the bike fits your body.
  3. Fix a flat the Wikibooks way: find the cause, remove the wheel, repair or replace the tube, and seat the tire correctly.
  4. Adjust rim brakes so both pads meet the rim together, and replace worn pads.
  5. Tune derailleurs using limit screws and the barrel adjuster, in the manual's order.
  6. Clean, lubricate, check, and replace a chain before it wears out your gears.
  7. True a wheel, replace a broken spoke, and check hubs and bearings for play and roughness.
  8. Ride in traffic predictably and visibly, following NHTSA guidance on helmets, signals, and lane position.
  9. Choose lights, a lock, and weather gear that keep you seen, secure, and dry.
  10. Plan a bike commute route, routine, and backup plan you can repeat all season.

The ten lessons

Lesson 1

Anatomy of a bicycle

A bicycle looks simple because it is, but every part has a name and a job, and repairs go faster once you know both. Start with the frame, the tubes that hold everything together, and the fork, which holds the front wheel and turns with the handlebars. The headset is the set of bearings that lets the fork and handlebars rotate smoothly inside the frame. The Wikibooks manual opens with a diagram listing the parts of a bicycle, and that picture is worth studying before you touch a tool.

The moving system is the drivetrain. Your legs turn the pedals and cranks, the cranks turn the chainrings at the front, the chain carries that power back to the cassette or freewheel on the rear wheel, and the derailleurs are the small mechanisms that push the chain from gear to gear. The bottom bracket holds the bearings the cranks spin on. When a rider says the gears feel wrong, the fault usually lives somewhere along this chain of parts, which is why Lessons 5 and 6 follow it link by link.

The stopping and rolling systems finish the tour. Wheels are rims laced to hubs by spokes, with tires and inner tubes providing grip and cushion. Brakes squeeze the rim or a disc to slow you. The saddle sits on a seatpost, and your weight rests there and on the pedals and grips. The manual makes the encouraging point that bicycles worldwide use standardized, interchangeable parts, so what you learn on one bike largely transfers to the next.

Learn the names first. Frame, fork, headset, drivetrain, wheels, and brakes: once you can point to each system, every later lesson has a place to live.

Lesson 2

Fit and adjustment

A bike that fits is safer, faster, and kinder to your knees than a bike that almost fits. NHTSA advises checking your equipment before heading out, including proper fit and function of tires, brakes, handlebars, and seats, and that advice starts at home with three adjustments. First, saddle height. Sit on the bike while a friend or a wall holds you up, put your heel on the pedal at its lowest point, and raise the saddle until that leg is nearly straight. When you then ride with the ball of your foot on the pedal, your knee keeps a comfortable bend.

Second, saddle position. The saddle should sit level, or tipped very slightly, and far enough forward or back that your front knee, with the pedals level, hangs roughly over the pedal below it. Tighten the seatpost clamp firmly, because a saddle that slips mid ride is a hazard. Third, the handlebars. On most commuter bikes the bars sit about level with the saddle or a little higher, close enough that your elbows stay slightly bent and your shoulders stay down and relaxed.

Finish with the controls. Angle the brake levers so your wrists stay straight when your fingers rest on them, and make sure you can reach both levers and both shifters without stretching. Then do the standing test: straddle the top tube with both feet flat on the ground, and confirm there is clearance between you and the tube. Small changes, one at a time, tested on a short ride, turn an awkward bike into your bike.

Fit is three patient adjustments. Saddle height first, then saddle position, then bars and levers, changing one thing at a time and testing each on a short ride.

Lesson 3

Fixing a flat

A flat is the most common bicycle repair, and the Wikibooks manual treats it as a detective job before it is a patching job. Most punctures come from glass, thorns, flints, or nails cutting through the tire and the tube inside it. Before you remove anything, examine the tire carefully and mark any sharp object you find in the tread, checking for more than one. If you skip this step, the new tube meets the same shard and you get to practice the repair twice.

Remove the wheel. If it has a quick release, loosen and unscrew the skewer. If it has axle nuts, undo them with a wrench. For the rear wheel, first shift into the smallest rear and front gears to slacken the chain, which makes it far easier to get the wheel past the chain, and release or spread the brake if the tire will not clear it. Deflate the tube fully, then use tire levers to lift one bead of the tire off the rim and pull out the tube, gently, especially if sealant has glued it to the tire.

Find the hole by inflating the tube slightly and listening, or passing it near your cheek, and mark it. If you are patching, roughen the area, apply vulcanizing solution as the kit directs, let it turn tacky, and press the patch on firmly. If you are replacing the tube, that is the faster and surer roadside choice, and the manual notes many riders carry both a spare tube and patch materials. Run your fingers carefully inside the tire to confirm the cause is gone, add a little air to give the new tube shape, tuck it in, seat the bead without trapping tube under it, inflate, and check that the bead line sits evenly all the way around.

Find the cause before you fix the hole. Remove the sharp object, repair or replace the tube, sweep the inside of the tire with your fingers, and seat the bead evenly.

Lesson 4

Brakes: adjusting and replacing pads

Brakes are the one system you never postpone. The manual's rim brake lesson turns on balance: the brake arms should be adjusted so both blocks, or pads, apply pressure to the rim at the same time. If one pad bites first, it pushes the wheel sideways as you brake, which wastes stopping power and can damage parts mounted near the spokes. Balancing the spring tensions on the two arms keeps the wheel centered while you stop.

Adjustment begins with cable tension. Pads should sit close to the rim without rubbing, and the barrel adjuster on the lever or caliper lets you fine tune that gap as pads wear. The manual discusses leaving enough thread on the adjusters to keep a useful range of adjustment as the pads thin, which is a good habit: screw the adjusters in before major adjustments, then use them for small corrections on the road. Align each pad so it meets the rim squarely, hits the braking surface only, and never touches the tire, and give the front of the pad a slight toe in if the brakes squeal.

Replace pads when the grooves that channel water are worn away, when the pad nears any wear line molded into it, or when metal shows anywhere. Replacement is simple: note the order of the washers, remove the old pad, fit the new one in the same stack, align it, and test. Always finish with a squeeze test at walking pace, then a firmer stop, before real traffic. Brakes adjusted on the stand must prove themselves on the road.

Balance first, then tension, then alignment. Both pads should meet the rim together, and a pad worn to its grooves or its wear line is a pad you replace that day.

Lesson 5

Gears and derailleur tuning

A derailleur does one job: it guides the chain sideways from gear to gear. Tuning it, in the manual's order, means setting its limits first and its cable second. On every derailleur you will find two closely spaced screws, typically marked H and L for high and low. These limit stops prevent the chain from moving beyond the largest and smallest sprockets. The manual stresses that limits are set unconditionally, independent of the cable or the shifter, and they can be roughed in by pushing the derailleur by hand.

Set the low limit so the chain can reach the largest sprocket but can never be pushed past it into the spokes, and the high limit so it reaches the smallest sprocket without falling off the outside. The front derailleur works the same way: its two limit screws act like door stops, keeping the cage from throwing the chain off the inner or outer chainring. A third screw on the rear derailleur, the B adjustment, positions the upper pulley close under the largest sprocket.

Only then adjust the cable. The barrel adjuster removes cable slack, so that the pull set by the shifter is what moves the derailleur, one click for one gear. Turn it in small steps, testing shifts across the whole cassette while the wheel spins, with the bike in a stand or a patient friend holding the rear wheel up. If shifting is clean at one end of the cassette and poor at the other, suspect a bent derailleur hanger or a frayed cable, not your adjustments.

Limits first, cable second, always in that order. H and L screws fence the chain in, the barrel adjuster removes slack, and one click should then equal one gear.

Lesson 6

Chain cleaning and replacement

The chain is a consumable part, like tires and brake pads, and caring for it protects everything it touches. The manual gives the chain its own cluster of lessons: chain cleaning and lubrication, checking a chain for wear, removing a chain, mending a broken chain, installing a new chain, and setting chain length. That list is the whole skill. Clean first: wipe the chain down, work a degreaser or soapy water through the links with a brush, rinse, and dry it fully.

Lubricate a clean, dry chain, never a dirty one, because oil on grit makes a grinding paste. Put one drop on each roller, let it soak in while you turn the cranks slowly, then wipe off the excess from the outside, where oil only collects road dust. The inside surfaces, between the rollers and pins, are where the lubricant needs to be.

Check wear with a chain checker tool, or measure a span of links against the manual's guidance, and replace the chain when it has stretched beyond the limit. A worn chain left in place wears the cassette and chainrings into its stretched shape, turning a cheap chain replacement into an expensive drivetrain replacement. Keep a record of the date and mileage, size the new chain to match the old one link for link, and you will rarely meet a broken chain on the road.

Clean, then oil, then measure. A chain replaced on time is cheap insurance, because a stretched chain quietly eats the cassette and chainrings it runs on.

Lesson 7

Wheels, spokes, and bearings

Wheels take every bump you ride over, so they earn a regular inspection. Spin each wheel and watch the rim pass the brake pads. A wobble means the wheel is out of true, and the manual's truing lesson explains the cure: spokes are tensioned like tuning strings, and small turns of a spoke wrench on the correct spokes pull the rim back toward center. Work in quarter turns, check often, and stop if a spoke feels seized or the rim itself is bent, because those are shop jobs, not learning jobs.

A broken spoke is rideable for a short, gentle trip home, but it should be replaced promptly, since its neighbours now carry its load. The manual's spoke replacement lesson follows the pattern of the wheel: remove the tire and tube, and for rear drive side spokes often the cassette as well, thread the new spoke through the hub in the same lacing pattern as its neighbours, and bring it up to even tension. Tape a loose broken spoke to its neighbour so it cannot catch anything while you ride to do the repair.

Bearings finish the lesson. Hubs should spin smoothly with no grinding and no side to side play at the rim. The manual includes cleaning and repacking a hub, which is the deep version of bearing care. For daily riding, the simple checks suffice: lift the wheel, spin it, listen, and wiggle it sideways at the rim. Grittiness or looseness you can feel is the wheel asking for service before a small wear becomes a ruined hub.

Spin, watch, and wiggle. True small wobbles a quarter turn at a time, replace broken spokes promptly, and treat gritty or loose hubs as a service appointment, not a shrug.

Lesson 8

Riding in traffic

On the road, a bicycle is a vehicle, and NHTSA's guidance starts there. Bicyclists are required to obey the same rules of the road as other vehicle operators, including traffic signs, signals, and lane markings, and when cycling in the street you must ride in the same direction as traffic. Riding against traffic is one of the most dangerous habits a new rider can form, because drivers are not looking for you there.

Be predictable. NHTSA advises riding in a straight line, signalling all turns, and using hand signals when changing lanes or turning, so drivers can anticipate what you will do next. Stay focused, look ahead for traffic and obstacles, do not use electronic devices while riding, and never ride impaired, because alcohol and drugs affect your judgment and skill exactly as they do in a car. Take a lane position where drivers can see you and where you have room to avoid doors, drains, and debris.

Now the safety line this lesson must carry. Always wear a properly fitted helmet that meets Consumer Product Safety Commission standards, every ride, because NHTSA calls a helmet the single most effective way to prevent head injury in a bicycle crash. And know that traffic laws vary by state and city: helmet rules, lane rules, and equipment requirements differ, so check your local rules before you build habits on a new route. NHTSA itself tells riders to consult state and local laws, since its reminders may differ from yours.

Ride like a vehicle, because you are one. Same direction as traffic, signals before moves, eyes up, helmet on, and local laws checked, since they vary by state and city.

Lesson 9

Lights, locks, and weather gear

Being seen is a skill and a shopping list. NHTSA advises bicyclists to increase visibility by wearing fluorescent or brightly colored clothing during the day, and at dawn and dusk. For night riding it specifies the kit: use a front light and a red reflector or flashing rear light, and use retroreflective tape or markings on equipment or clothing. A white front light and a red rear light are the pair to buy first, charge them as part of your routine, and treat a dead light like a flat tire, a reason to fix things before the next dark ride.

Locks are about time and noise. No lock makes a bike unstealable, so the goal is to make yours the hardest target in sight. Lock the frame, and ideally a wheel, to a fixed rack with a solid U lock or heavy chain, keep the lock off the ground where leverage is easy, and take lights, bags, and quick release accessories with you. At home or work, a locked room or garage beats any lock left outdoors overnight.

Weather gear closes the gap between the rider you are and the rider you plan to be. A breathable waterproof jacket, gloves for cold mornings, and fenders that keep road water off your back handle most commutes. In heavy rain, slow down, brake earlier because wet rims and pads stop more slowly, and avoid painted lines and metal covers, which get slick. Dress for the second half of the ride, once you have warmed up, and keep one dry layer waiting at work.

Bright by day, lit by night, locked by frame. A white front light, a red rear light, reflective details, a solid lock through the frame, and one good rain layer cover most days.

Lesson 10

Planning a bike commute

A good commute is designed, not discovered by accident. Choose your route on a map before you ride it: prefer quiet streets, bike lanes, and paths over the fastest car route, even if the calm route is a little longer. Then ride it once on a weekend, at an easy pace, with time to notice the tricky intersection, the steep block, and the place where the lane ends. Time that ride honestly, including lights and locks, because your morning plan must use real minutes, not hopeful ones.

Build the routine around the ride. Decide what you carry and what you leave at work: many commuters keep shoes, a towel, and a change of clothes at the destination, and carry only a small bag each day. Lay out lights charging, tire pressure, and a weekly brake and chain check as fixed habits. Keep your repair kit on the bike, not in the house: spare tube, tire levers, pump, and a multitool, the same kit Lesson 3 taught you to use.

Finally, plan for the bad day. Know your backup, whether that is a bus that takes bikes, a rideshare budget for storms, or a colleague on your route. Start with one or two commute days a week and let the habit grow, and keep track of what the car trips would have cost, because the savings are the quiet reward of this whole course. You now maintain the machine, ride it safely and visibly, and have a route, a routine, and a backup. That is a commute, and it is yours.

Design it on a map, test it on a weekend, stock it like a system. Route, routine, repair kit, and a backup plan turn good intentions into a commute that lasts.

Sources

The guides behind this course

The repair lessons in this course follow the free Wikibooks manual, written and revised by riders, and the riding lessons follow federal safety guidance. Both sources are free for anyone to read in full.

Graduation

You finished Bicycle Repair and Commuting 101

You can now name every system on a bicycle, fit it to your body, fix a flat by finding its cause first, balance and renew your brakes, tune derailleurs in the right order, clean and replace a chain before it eats your gears, true wheels and check bearings, ride in traffic the predictable and visible way, choose lights, a lock, and weather gear with judgment, and design a commute with a route, a routine, and a backup. That is the whole promise of this course: a bike you keep running yourself, taking you to work safely and cheaply.

Back to Starvard University

Keep learning

This course is part of Starvard University, striving for greatness.

Explore Starvard · All free courses

A note on accuracy: Much of what you read at Starvard was created with help from AI agents, working alongside people. We check what we can, but we cannot guarantee that everything here is true, current, or complete. If something really matters, your health, your money, a grade, a job, please verify it with a trusted source before you rely on it.