Class 97

The Class 97 is the number group for rack locomotives. How rack operation works, which systems exist, and how to recognise vehicles like this.

Also known as: BR 97 · rack locomotive

GermanyGermanySteam & special traction8 min readUpdated: August 2026

Key takeaways

  • The 97 is a category of its own: the DRG system reserved this number exclusively for rack locomotives.
  • Rack operation begins where adhesion ends – beyond the gradients a normal locomotive can manage.
  • Usually mixed operation: adhesion drive on level sections, rack only on the steep part.
  • Several rack systems – Riggenbach, Abt, Strub and Locher differ noticeably in construction.
  • No longer in scheduled service: vehicles of this group are museum pieces; rack operation today mainly happens on tourist mountain railways.
Contents
  1. 1.What is the Class 97?
  2. 2.How rack operation works
  3. 3.Rack systems compared
  4. 4.Mixed operation: the German speciality
  5. 5.Where you can experience rack operation today
  6. 6.Photo tips on rack routes
  7. 7.Common mix-ups
  8. 8.Verdict

Fact file

Vehicle typeSteam locomotives for rack operation, mostly tank type
Number range97 – reserved exclusively for rack locomotives in the DRG system
Drive principleA driven pinion engaging a rack, in addition to the normal adhesion drive
PurposeRoute sections with gradients beyond the limit of pure adhesion operation
Special featureUsually mixed operation – adhesion drive on the level, rack drive on the gradient
StatusNo scheduled service – historic vehicles in museum and collection fleets

Identifying features

Is this really the class in front of you?

Tick off everything that applies to the vehicle you are looking at.

  • A driven pinion between the rails under the vehicle – the single clearest feature there is
  • A rack running down the centre of the track on the relevant route sections
  • Additional braking equipment and often a separate mechanism for the rack drive
  • Running number starts with 97 – reserved exclusively for rack locomotives in the DRG system
  • Boiler and cab often look tilted or adapted, so they sit level on a steep gradient

Updated: August 2026 – The Class 97 is the special case in the German steam locomotive numbering system: while almost every other number is sorted by purpose and wheel arrangement, this one number stands for a drive principle. Rack locomotives run where adhesion alone is no longer enough. This page explains how that works technically, what systems exist, and where you can still experience rack operation today.

Seen rack operation? Log it.

Mountain railways and historic vehicles belong in the logbook – logged with Traintrack in a few seconds.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

What is the Class 97?

The Class 97 is the number group that the Deutsche Reichsbahn-Gesellschaft assigned exclusively to rack locomotives. That makes it an exception within the numbering system: bands 01 to 96 are sorted by purpose and type, while 97 is instead sorted by an engineering principle. The 98 was then reserved for branch-line locomotives and the 99 for narrow-gauge engines – both special categories too.

Rack locomotives are vehicles for route sections whose gradient lies beyond what can be safely managed with pure adhesion drive. In addition to the normal running gear they carry a driven pinion that engages a rack running down the centre of the track. This allows power to be transmitted positively – and, just as importantly, allows safe braking on the way down.

On the German state railway network, the rack sections have long since become history. Vehicles of this class are today historic objects; you experience rack operation in Germany mainly at tourist mountain railways with their own fleets. One of them is the Drachenfelsbahn, which has climbed from Königswinter up the Drachenfels since 1883 – metre gauge, with a rack, and running all year round.

How rack operation works

The core is quickly explained; the consequences aren’t.

Adhesion has a hard limit

A wheel only transmits power for as long as it isn't slipping. How much it can transmit depends on the weight on the axle and the friction coefficient – and that's quickly halved by wet leaves or snow.

The pinion engages positively

A driven pinion in a rack can't slip. The transmittable force no longer depends on the friction coefficient, but on the strength of the components.

Downhill, the brake matters more than the drive

The real safety gain lies in the descent. Via the rack engagement, speed can be held even when a friction brake would long since have been overwhelmed.

Entering and leaving the rack is the critical point

In mixed operation, the vehicle has to feed cleanly into the rack while moving. There are entry devices with movable starting pieces for this – one of the most demanding parts of the whole installation.

Where the gradient still lies within the manageable range, pure adhesion is enough on its own – though that then needs a very powerful engine with steep-gradient equipment, such as the Class 95.

Rack systems compared

Not every rack is built the same way. The systems differ in construction, smoothness of running, maintenance effort and the gradient they can handle.

System Rack construction Characteristics
Riggenbach Ladder rack made of rungs between two profiles oldest widely used system, robust, comparatively noisy in operation
Abt One to three flat-steel strips, teeth staggered staggered teeth give a smoother ride, widely used
Strub Solid profile with milled-in teeth simple maintenance, head usable as a clamping surface for brakes
Locher Teeth engaged horizontally on both sides for extreme gradients, additionally secures against climbing out
Von Roll Solid profile, further development of older systems today’s standard for new builds and conversions

For observation this means: if you’re standing at a mountain railway, the shape of the rack in the track alone tells you which system you’re dealing with. How to work through such features systematically in general is described in the guide to identifying locomotive classes.

Add mountain railways to your logbook

Rack vehicles, museum engines, special trains – Traintrack keeps it all together in one place.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Mixed operation: the German speciality

Pure rack railways run in rack engagement from the first point to the last. On routes with only one steep section, that would be uneconomical – so mixed operation was built instead: adhesion drive on the level parts, rack only where it gets steep.

For the vehicles that means considerable extra effort. They need both drive types, plus controls that master the transition, and additional braking equipment for the descent. These very special designs are the reason the Reichsbahn reserved a class number of its own for them instead of fitting them into the existing bands.

The comparison with neighbouring special categories is worthwhile: the Class 98 grouped together branch-line locomotives, meaning vehicles for lightly built secondary lines, while the Class 94 shows how far you can get with pure adhesion and five coupled axles.

Where you can experience rack operation today

There’s no scheduled rack operation left on the German state railway network. What there is instead are tourist mountain railways with their own fleets, plus museum operators that show historic rack vehicles.

  • Mountain railway operators directly. Timetables, season dates and closures sit with the operator – and so does whether a historic vehicle is being used.
  • Museum fleets and collections. Rack locomotives are rare and stand correspondingly prominently in the fleets that own them.
  • Special events. Anniversaries and vehicle rallies are often the only chance to see such a vehicle in motion.
  • Community reports for anything short notice and off-schedule.

Mountain routes are no terrain for improvising

Steep embankments, narrow cuttings and missing escape routes make railway installations in mountain terrain particularly dangerous. Track areas and operational facilities are off-limits, barriers are binding, and house rules apply on operator sites. Plan viewpoints on publicly accessible paths and vantage points.

Which distances and rules generally apply is summarised in the article on keeping a safe distance from the track – it applies on a mountain route just as much as on any main line.

Photo tips on rack routes

The subject of a rack railway is the gradient. If you don’t get it into the picture, you’re photographing an ordinary narrow-gauge railway.

Make the gradient visible. Include a reference line in the shot – a mast, a building, the horizon. Without a reference, even a dramatic incline looks flat in a photo.

Show the rack. A low viewpoint looking along the track makes the rack visible. That’s the detail that explains the shot.

Watch the light in mountain terrain. Valleys fall into shadow early, and slopes glare. The usable time windows are shorter than in flat country – plan them in advance rather than improvising on site.

If a historic steam vehicle is in service, the usual rules of steam photography apply on top: backlight makes steam three-dimensional, cold weather amplifies the effect. The details are covered in the guide to steam train photography.

Common mix-ups

It points to rack operation when …

  • a rack lies down the centre of the track
  • the vehicle carries a driven pinion under the frame
  • the route is noticeably steeper than usual railway lines
  • the running number in the historic scheme starts with 97

Look more closely when …

  • the rack only lies on one section – then it's mixed operation
  • a vehicle is stabled and the pinion isn't visible
  • the route looks steep but no rack is visible

It's not rack operation when …

  • there's no rack at all in the track
  • the vehicle is driven only through the wheels
  • it's a funicular – that works with a hauling cable instead of a rack

Verdict

The Class 97 is the number that, in the German steam locomotive system, stands for a principle rather than a type. Rack locomotives solve a problem that more boiler output can’t solve: past a certain gradient, the physics of adhesion drive runs out, and only a positive engagement helps from there. On the state railway network this chapter is closed; anyone wanting to experience it travels to a mountain railway or waits for a museum working – and looks just as closely at the rack as at the locomotive.

In short

97 means rack locomotive: driven pinion, rack in the track, gradients beyond adhesion operation. History on the scheduled network, but still alive as a principle at tourist mountain railways today.

Unusual railways, clean sightings

Mountain railway, museum train or special working: Traintrack keeps vehicle, location and date together in one entry.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Summary

  • In the Deutsche Reichsbahn-Gesellschaft's steam locomotive numbering system, the Class 97 is the category of rack locomotives.
  • Engines like this engage a driven pinion into a rack running down the centre of the track, letting them manage gradients that defeat adhesion drive.
  • Characteristic is mixed operation, with adhesion drive on the level and rack drive on the steep section.
  • Today the class is historic – you experience rack operation today mainly at tourist mountain railways.

Frequently asked questions

What is the Class 97?

The Class 97 is the number group that the Deutsche Reichsbahn-Gesellschaft reserved exclusively for rack locomotives. Unlike with most classes, the focus here isn't a wheel arrangement but a drive principle: the additional rack drive that lets vehicles handle gradients beyond the limits of safe adhesion operation.

How does a rack railway work?

A rack lies between the rails. The vehicle carries a driven pinion that engages this rack. Power transmission is therefore positive rather than frictional – the wheels can no longer slip. Going downhill, the same pinion also serves as a braking element, which makes the descent manageable.

From what gradient do you need a rack?

Normal adhesion railways in scheduled service mostly stay below around forty per mille; designated steep-gradient routes go beyond that under special rules. Once it gets significantly steeper, friction between wheel and rail no longer suffices to transmit tractive effort or to brake safely. That's where the rack drive comes in.

What rack systems exist?

The best known are Riggenbach with a ladder rack made of rungs, Abt with staggered flat-steel strips for a smoother ride, Strub with teeth milled into a solid rail profile, and Locher with horizontal teeth engaged on both sides for extreme gradients. They differ in construction, maintenance and the maximum gradient they can handle.

What is mixed operation?

The combination of both drive types on one route. On level sections the vehicle runs like a normal locomotive on adhesion; before the steep section it enters the rack and switches to rack drive. This saves the costly rack construction where it's not needed – but entering and leaving the rack while moving has to be solved cleanly from an engineering standpoint.

Do Class 97 locomotives still run?

Not in scheduled service. The rack sections on the German state railway network were dismantled or converted to pure adhesion operation long ago. Vehicles of this class are today museum and collection pieces. You experience rack operation as such in Germany mainly at tourist mountain railways with their own fleets.

How do I recognise a rack locomotive?

By the driven pinion under the vehicle, roughly at the centre of the track, and by the rack in the track, where the route still has one. Many rack vehicles also carry additional braking equipment and a separate mechanism for the rack drive. On pure mountain railways the boiler and superstructure are often built at a tilt.

What should I watch out for on a mountain railway route?

The same as everywhere: tracks and operational facilities are off-limits, barriers are binding. On mountain routes there's the added factor that embankments are steep and escape routes narrow. Stay on publicly accessible paths and viewpoints. On operational and museum sites, the operator's house rules apply on top.

Log your sighting of the Class 97

Date, location and vehicle number logged in seconds – and visible to the community.

Download Traintrack on the App Store4.8(23 ratings)Get Traintrack on Google Play4.4(35 ratings)

Related classes

Who is behind it

Groups, brands, manufacturers and operators – who owns whom and how to recognise them out in the field.

All railway companies →

Related guides from the blog

TT

Traintrack editorial team

The rolling stock database is built from operational observation, community sightings and publicly available sources. Confirmed details are in the fact file; anything that can change is marked as such.

← All rolling stock from Germany