DIN Rail Sizes Explained Clearly
Share
If a clip, terminal or adaptor does not sit properly on the rail, the problem is often not the part itself. It is usually a mismatch in DIN rail sizes, rail profile, or the depth of the rail inside the enclosure. That matters whether you are wiring a control box, tidying a workshop panel, or mounting Wago connectors in a cleaner, more serviceable way.
What DIN rail sizes actually mean
DIN rail is a standardised metal rail used to mount electrical and control components. In practice, most people refer to the rail by width, but width alone is not the whole story. The common standards also vary by profile and height, which is why two rails that look similar in a photo can behave differently once you start clipping parts onto them.
The size people meet most often is the 35mm top-hat rail. This is the standard rail found in a huge range of consumer units, control panels, distribution boards and industrial enclosures. If you are buying clips, terminal blocks, relays, MCBs or accessories for general use, this is usually the starting point.
There are also smaller rails, mainly 15mm mini top-hat and the older G-section profile. These still turn up in specialist equipment, compact installations and some legacy setups. They are less common for general workshop and DIY use, but they matter if you are trying to retrofit a part into an existing enclosure rather than building from scratch.
The common DIN rail sizes and profiles
The most useful way to think about DIN rail sizes is by profile first, then by dimensions.
35mm top-hat rail
This is the default option for most modern applications. It is often referred to as TS35 or omega rail. The nominal width is 35mm, and the two common depths are 7.5mm and 15mm. Both use the same basic top-hat profile, but the deeper version stands further proud of the backplate.
That extra depth can help with clearance for wiring, release tabs and mounting hardware. It can also create problems in shallow enclosures where every millimetre counts. If you are fitting compact accessories or DIN rail adaptors for connector blocks, the rail depth may affect how easily you can access conductors and release levers.
15mm mini top-hat rail
This is a narrower version used where space is tight. You will see it in some compact control devices and smaller assemblies, but it is nowhere near as common as 35mm rail. The key point is simple: a part made for 35mm rail will not clip onto 15mm rail unless it specifically says it will.
That sounds obvious, but it is a common source of ordering mistakes when people measure the enclosure by eye, assume all DIN rail is the same, and only notice the difference when the part arrives.
G-section rail
G-section rail has a different profile altogether. Instead of the symmetrical top-hat shape, it has one deeper side. It was widely used in older industrial installations and still has a place in some applications where the mounted components benefit from the rail shape.
For most DIYers and workshop users, G-section matters less because many modern accessories target 35mm top-hat rail. Still, if you are repairing or extending an older panel, you need to check profile as well as width.
Why 35mm rail is the one most people need
In most cases, 35mm rail wins because it is widely supported. Electrical accessories, relay bases, terminal blocks, power supplies and mounting clips are commonly designed around it. If you are adding a neat mounting point for compact connectors or trying to make a small enclosure easier to service, 35mm is usually the practical choice because the accessory market is built around it.
That is especially true for maker and workshop setups where the goal is not just mounting a part, but mounting it in a way that is tidy, repeatable and easy to work on later. A standard 35mm rail gives you better odds of finding exact-fit clips and adaptors without bodging brackets or drilling extra holes.
DIN rail sizes vs rail depth
This is where a lot of confusion starts. Someone asks for DIN rail sizes and means width. Someone else answers with 35 x 7.5mm or 35 x 15mm, which includes depth. Both are right, but they are describing different parts of the same thing.
If you are choosing accessories, width and profile decide whether the part can clip onto the rail at all. Depth affects how it sits once installed. A deeper rail can improve finger access behind some components and make release tabs easier to reach. On the other hand, in a compact box it can reduce room for cable bend radius or push a component too close to the lid.
For simple connector mounting, this is usually not a major issue, but it can still matter if the clip body is tall or the enclosure is shallow. When fit needs to be exact, small dimensions stop being small.
How to identify the rail you already have
If you are working with an existing enclosure, measure before you buy. The top width is the first clue. A 35mm top-hat rail is visually quite distinctive and much more substantial than a 15mm rail. If the rail is clearly asymmetric, you may be looking at G-section rather than top-hat.
Also check the stand-off from the mounting surface. If the rail is deeper, some accessories may sit better on it, while others may leave less room around cable entry points. If your enclosure already feels cramped, rail depth is worth checking rather than assuming.
Photos alone are not always reliable, especially in online listings where scale is not obvious. A quick measurement with a rule or callipers is far more useful than trying to guess from appearance.
What matters when buying clips and adaptors
For practical buying decisions, there are three checks that matter most. First, confirm the rail profile - usually 35mm top-hat. Second, confirm whether the accessory is designed for that exact rail size. Third, check the surrounding space in the enclosure, because a part can be technically compatible with the rail and still be awkward to use once wires are terminated.
This comes up often with connector mounting. A DIN rail clip may fit the rail perfectly, but if it leaves no room to press a lever, release a conductor or route cable cleanly, the install will be irritating every time you revisit it. Good fit is not only about attachment. It is also about service access.
That is why product-specific language matters. If an adaptor or clip is made for a particular connector family and a 35mm DIN rail, that tells you much more than a generic claim that it is suitable for electrical mounting.
DIN rail sizes in workshop and maker setups
In industrial panels, DIN rail is standard practice. In smaller workshop builds, it is often underused. That is a shame, because it is one of the easiest ways to make low-voltage control parts, power distribution and temporary test setups more organised.
A short piece of 35mm rail inside a project box can turn loose components into a proper assembly. It also makes future changes easier. Instead of unscrewing parts from a backboard or replacing double-sided tape that has gone soft, you can unclip, reposition and service components without damaging the enclosure.
For makers using lever connectors, rail mounting also reduces the usual bench clutter. A proper clip keeps the connector where you expect it, especially in transportable rigs, test boxes and compact control enclosures. It is a small upgrade, but the kind that saves time later.
When the standard answer is not enough
Most of the time, recommending 35mm top-hat rail is the safe answer. But there are cases where it depends. If you are restoring older equipment, matching the original rail profile may be easier than converting everything. If the enclosure is extremely tight, mini rail might be justified. If a component has a profile-specific latch, changing the rail type may mean changing the component as well.
There is also the question of material and finish. Steel rail is common and perfectly suitable for most jobs, but stainless and aluminium options exist where corrosion resistance or weight matters. For many workshop users, that is secondary to getting the correct size and profile, but in damp or exposed environments it can be worth considering.
A practical rule for choosing DIN rail sizes
If you are building a new setup and want the least hassle, choose 35mm top-hat rail unless you have a clear reason not to. If you are adding accessories to an existing setup, measure the rail you already have and match both width and profile. If the enclosure is compact, check rail depth and working clearance before you order.
That approach avoids most of the common mistakes. It also makes it easier to buy exact-fit accessories, whether that means terminal hardware, relay bases or DIN rail clips for connector mounting. Maker Fixer focuses on the kind of parts where those small fit details actually matter.
A rail is just a rail until the part on it does not fit. Measure first, match the profile properly, and the rest of the job usually gets much easier.