A linear guide rail is the most dimensionally honest part on most machines, and that is exactly why installation goes wrong. The rail arrives straight to within microns, the mounting face underneath it does not, and the bolts are strong enough to pull the rail into whatever shape the bed happens to have. The guide then carries that shape for the rest of its life: tight in the middle of travel, loose at the ends, noisy, and blamed on the supplier.
This guide is the procedure we walk customers through when a machine is being built or rebuilt, written for the person holding the torque wrench rather than the person who chose the part. It assumes a profile rail and a matching carriage, a machined or fabricated bed, and no granite surface plate on site. The order of the steps matters more than any single number in it.
Core concept: one rail is the datum, the other is the follower
Almost every installation error comes from treating the two rails as equals. They are not. One rail defines the axis. The second rail only has to be parallel to the first and at the correct height; its own absolute position matters far less than its relationship to the datum.
Why the datum rail is bolted down first and completely
The datum rail is aligned to the machine's reference edge, tightened to full torque, and then measured. Every later measurement is taken from it. If you tighten one rail, align the second, and then come back to re-torque the first, you have moved the reference after the fact and the second rail is now wrong. This single mistake accounts for most of the "the rails were parallel when I checked them" reports we get.
What the carriage is actually telling you
With both rails bolted and one carriage on each, a bridge plate or a dial indicator between them reads the pair. A carriage that binds at one point in travel and frees itself elsewhere is not a defective block; it is reporting that the two rails converge, diverge or sit at different heights at that point. The block is the gauge, and it is a more sensitive one than most shop instruments, because it has no clearance to absorb the error.
Where the error is allowed to live
There are three places an installation error can sit: the machine bed, the rail, and the interface between them. The rail is the one part you cannot fix, so the procedure exists to keep error out of the other two. A bed that is out of flat by more than the rail can absorb has to be machined, shimmed or grouted before any rail is bolted down. Bolting a straight rail onto a curved bed does not straighten the bed; it curves the rail.
Types of rail and mounting, and what each one changes about the procedure
The steps are the same for every family, but the tools and the tolerances are not. Three families cover most of the work.
Miniature profile rail: MGN and MGW, 5 mm to 15 mm
Miniature rail is bolted with small fasteners into a shallow counterbore, and it is far more sensitive to bed flatness than its load rating suggests, because the rail section is thin enough to follow the bed. Our miniature range runs from 5 mm to 15 mm rail width in bearing steel or SUS440C stainless. At 7 mm and 9 mm the rail is often mounted on aluminium extrusion, which is straight in the extrusion direction and rarely flat across the face; a light skim or a shimmed interface is usually needed before the rail goes down.
Profile rail: HGR and HGH, 15 mm to 65 mm
Heavy profile rail is stiff enough that it will fight the bed rather than follow it. That is good for accuracy and bad for installation, because a rail that is pulled down onto a high spot stores elastic energy that shows up as a tight region later. The linear guide rails and carriages we supply in this family run from 15 mm to 65 mm in bearing steel, with accuracy grades C, H, P, SP and UP available depending on size and lead time.
Round rail and shaft systems: SBR, TBR and shaft with bushings
Round rail on supported shaft is more forgiving in one axis and less in another: the shaft can be rotated to average out a small bend, but the two supports have to be at the same height or the shaft takes a curve that the bushing feels as a tight spot. Where the machine uses separate shaft and bushing rather than a profile block, alignment is set with the linear bushings and shaft supports rather than with a carriage.
Pros and cons of the three mounting strategies
There are only three honest ways to get a flat interface, and each one trades time against money against repeatability.
Machining the bed flat
Pros: the best result, permanent, no interfaces to creep or corrode, and the only method that survives a machine that will be re-railed years later. Cons: it needs a machine tool bigger than the part, it is the most expensive option, and on a weldment it has to be done after stress relief or the bed will move again.
Shimming under the rail
Pros: cheap, fast, works with hand tools and a straight edge, and reversible. Cons: shim stacks compress and creep, they are hard to keep clean, and a stack of three or more foils under a bolt is a soft spot. Shimming is the right answer for a retrofit or a prototype and the wrong answer for a production machine that will run three shifts.
Epoxy grouting or a machined pad
Pros: fills the gap completely, no bolt preload lost to a soft interface, and it damps vibration better than steel-to-steel contact. Cons: it is a process with a cure time and a learning curve, and it cannot be undone in a hurry. For large fabricated beds and for rail that must sit on a weldment, it is usually the best compromise between machining and shimming.
Parameter and technical standard: the numbers that decide pass or fail
Installation is judged against a handful of parameters. Which value applies depends on the grade you bought and the length you bought it in, so treat the notes below as the order of checks rather than a table of universal limits.
Accuracy grade C, H, P, SP and UP
The grade sets how much running error the assembled guide is allowed, both in the vertical and horizontal plane, and it is the number that most installations silently violate. A grade P rail bolted onto a bed that is out of flat by 30 microns is no longer a grade P guide; it is a rail forced into the bed's shape. If the machine needs grade P or better, the bed has to be machined or grouted, not shimmed in three places.
Straightness of the mounting face
Measured along the line the rail will take, not across the whole bed. A straight edge and feeler gauge will find gross error; a dial indicator on a magnetic base, run along a reference edge, will find the rest. The target is the flatness the rail can absorb without being preloaded by the bed, which for miniature rail is a tighter number than for 35 mm profile rail. Confirm the figure against the drawing for the size you are installing rather than assuming a single site-wide value.
Parallelism between the two rails
Measure between the datum rail and the follower, at several stations along travel, with an indicator mounted on a carriage or a bridge. The two rails must be parallel within the grade's running tolerance over the full stroke, not just at the ends. Checking only the ends is the second most common installation error, because a bowed follower rail reads correctly at both ends and binds in the middle.
Height difference and rail-to-rail level
Two rails can be perfectly parallel in plan and still be at different heights, which twists the bridge and loads one carriage more than the other. Measure height at the same stations used for parallelism, with the indicator referencing the rail top rather than the bed. On a gantry, this is the measurement that decides whether the two sides carry equal load.
Bolt preload, bolt grade and the counterbore
The bolt has to clamp the rail to the bed, not bottom out in the counterbore, and not stretch past its elastic range. Use the torque for the bolt grade and size you actually fitted, from the machine builder's table, and check that the bolt head sits below the rail surface so the carriage passes over it. A bolt that stands proud by 0.1 mm will be felt as a knock once per pass.
Cleanliness before torque, not after
Swarb, blasting grit and paint overspray under a rail are incompressible. A single chip under a rail is a high spot that no amount of re-torquing will remove, and it is the most common cause of a new installation that is noisy from the first stroke. Clean the bed, clean the rail back, and keep the carriage on its rail until the moment it is fitted.
Application scenarios: how the procedure changes with the machine
The steps do not change, but which measurement you spend your time on does. These are the four cases where installers most often ask for advice.
CNC routers and plasma tables
Long travel, fabricated steel or aluminium bed, and a gantry that ties two rails together. The critical measurement is rail-to-rail parallelism in the horizontal plane along the full stroke, because the gantry is stiff enough to fight a small error rather than follow it. On these machines a bowed follower rail shows up as a gantry that is free at both ends and stiff in the middle, and the fix is almost always to re-shim the follower rail at the middle stations rather than to touch the ends.
Laser cutters and light gantries
The moving mass is small, so the rail is often miniature and mounted on extrusion. Bed flatness across the rail face matters more than along it, and the extrusion's twist is the usual culprit. A light skim of the mounting face, or a machined adapter plate between extrusion and rail, is worth more than any adjustment afterwards.
Packaging, pick-and-place and general automation
Short strokes, high cycle counts, and a frame that is often bolted together from profiles. Here the risk is not flatness but looseness: a rail that is straight and correctly preloaded on day one works loose over a few hundred thousand cycles if the bolts were torqued dry into aluminium. Thread inserts and a thread-locking compound on the frame bolts are part of the installation, not an afterthought.
Retrofits and rebuilds
The existing bed has wear, paint and old bolt holes, and the machine owner wants the axis running by Friday. In a retrofit, spend the time on cleaning and on measuring the old bed before ordering anything; if the bed is out by more than a shim will fix, the honest answer is that it needs machining, and the rail is not the problem. Where the axis is bought as a complete assembly instead of as parts, the same alignment work has already been done inside the assembled linear modules, and installation reduces to mounting the module flat and coupling it to the drive.
Common problems and solutions
Almost every complaint after a first installation fits one of these six patterns. The order is roughly by frequency.
1. The carriage binds in the middle of travel
Cause: the follower rail is bowed toward or away from the datum, or the two rails differ in height at mid-stroke. Check: indicator between carriages at five stations, not two. Fix: loosen the follower rail bolts in the middle region, let the rail find its position under the bridge, re-torque from the centre outwards, and re-measure. Repeat until the indicator reading is constant within the grade.
2. Tight from the first stroke, everywhere
Cause: over-preload from the bed, a high spot under the rail, or a carriage fitted onto a rail with the wrong preload code. Check: remove the follower rail bolts entirely and slide the carriage on the datum rail alone. If it is tight there, the problem is on that rail; if it frees up, the problem is the pair. Fix: find and remove the high spot, or re-machine the interface.
3. Knock or click once per pass at the same point
Cause: a rail joint that is stepped, a bolt head proud of the counterbore, or a ding on the rail edge. Check: run a finger along the rail edge with the carriage off, and check every bolt head with a straight edge. Fix: re-seat the joint, replace the proud bolt, or stone the ding flat.
4. Noise that appears only at speed
Cause: usually not the rail but the drive: a screw whipping, a coupling misaligned, or the frame resonating. Check: run the axis with the drive disconnected and the carriage pushed by hand. Fix: if it is quiet by hand, the guide is fine and the search moves to the screw and the motor mount.
5. Bolts come loose within weeks
Cause: dry assembly into aluminium, insufficient engagement, or a soft interface compressing under load. Check: witness marks on every bolt head at installation. Fix: thread inserts, correct engagement depth, and a thread-locking compound; on a soft frame, consider a steel adapter plate so the bolt clamps steel to steel.
6. Accuracy drifts as the machine warms up
Cause: the rail is constrained by a bed that grows differently from it, or the machine has one rail hard-datumed in both directions so it cannot expand. Check: measure the same feature cold and after an hour of running. Fix: leave one rail free to slide in its bolt clearance in the direction of thermal growth, with a single locating pin, rather than pinning both rails rigidly.
Selection and installation tips: the procedure in order
This is the sequence we recommend, in the order that avoids rework. It assumes the rail size and grade have already been chosen.
Step 1: clean and inspect the bed
Remove paint, grit and burrs from the mounting face. Run a straight edge and feeler gauge along the rail line, and a dial indicator along the reference edge. Record the numbers; they decide whether you proceed, shim, or stop and machine.
Step 2: establish the reference edge
Identify the machined shoulder or dowel that locates the datum rail. If there is none, set one: a straight edge clamped to the bed is enough for a retrofit, provided you do not move it until both rails are done.
Step 3: place the datum rail and start the bolts
Fit the rail against the reference, start every bolt finger-tight, then torque from the centre outwards in two passes. Working outwards from one end pushes the rail ahead of the tightening sequence and leaves a wave behind it.
Step 4: measure the datum rail
Straightness along the rail line and height at several stations. This is the number everything else is compared to, so record it before touching the second rail.
Step 5: place the follower rail loosely
Bolts finger-tight only. Fit both carriages and the bridge or plate that ties them, then slide the assembly along the stroke by hand. The carriage pair will settle the follower rail into the position that suits it.
Step 6: torque the follower rail from the centre outwards
Half torque first, checking that the assembly still moves freely, then full torque. Any point where the assembly tightens during this pass is a point that needs a shim or a re-check of the bed.
Step 7: measure parallelism and height at five stations
Ends, quarter points and centre. A rail that reads correctly at three stations and binds at the fourth is bowed between them, and only the five-station check finds it.
Step 8: fit the end seals, wipers and lubrication
Seals go on before the machine runs, not after the first chips. Fill the carriage with the specified grease or oil, run the axis slowly through its full stroke twice, and wipe the rail clean before the first production cycle.
Step 9: mark and record
Witness-mark every bolt head, record the torque used and the indicator readings at each station. On the next service, a moved witness mark tells you in one glance what a strip-down would take an hour to find.
Step 10: run in and re-check
After the first few hours of running, re-check the rail bolts and the indicator readings. New installations settle, and the settling shows up in the first shift far more than in the first month.
FAQ: installing a linear guide rail
Can I install a linear guide rail without a surface plate?
Yes. A machined reference edge, a straight edge, feeler gauges and a dial indicator on a magnetic base cover almost every field installation. A surface plate is useful for inspecting a rail off the machine, not for setting one on it.
Do both rails have to be pinned?
No, and pinning both is usually wrong. Pin the datum rail so it cannot move, and leave the follower rail free to slide in its bolt clearance in the direction of thermal growth. Pinning both turns a temperature change into a preload change.
How tight should the rail bolts be?
To the torque for the bolt grade and size you fitted, from the machine builder's table, with the bolt head below the rail surface. There is no single site-wide value: an M3 into aluminium and an M6 into cast iron are different problems, and over-torquing into aluminium strips the thread long before it clamps the rail.
Can I re-use the old bolt holes on a rebuild?
Only after checking them. Old holes are often bell-mouthed from vibration, and a bolt that bottoms in a damaged thread clamps nothing. Chase the threads, check engagement depth, and use thread inserts where the hole is soft.
What if the bed is out of flat and machining is not possible?
Shim in as few places as possible and accept a lower grade in practice, or grout the interface with an epoxy system designed for machine mounting. What you cannot do is bolt a straight rail onto a curved bed and expect the assembly to keep the grade printed on the box.
How do I know the installation is good enough?
Three signs: the carriage moves freely by hand over the full stroke with a constant feel, the indicator reading between the two rails is constant within the grade at five stations, and a witness-marked bolt check after the first shift shows nothing moved. If all three hold, the guide will deliver the accuracy it was bought for.
Conclusion: the bed decides, the bolts only reveal it
Installing a linear guide rail is not a precision operation in the sense of measuring to a micron by hand. It is a sequence operation: clean, establish a datum, tighten in the right order, measure at enough stations, and stop when a number is out rather than torqueing harder. The rail and carriage leave our factory within the grade printed on the label; whether the machine keeps that grade is decided in the hour after the first bolt is started.
If the installation is going onto a machine that will run production, the extra hour spent on the bed before the first rail goes down is worth more than any component upgrade later in the project.
Custom sizes, OEM and technical support
Rails and carriages are available cut to length, with drilled and tapped ends, jointed for long travel, and with mounting-hole patterns to your drawing. Custom size available, OEM and ODM projects welcome, and bulk wholesale pricing on repeat sizes. Send the stroke, the load case and the drawing, and we will confirm the rail size, grade and carriage preload that fit it, with a quotation for the quantity you need. Contact us for technical drawing review and quotation.

