SZ 342

Class 342 belongs to the older generation of Slovenian DC locomotives of Italian origin. Here's how to place it and how to find it on the ground.

Also known as: SŽ 342 · Reihe 342 · JŽ 342

SloveniaSloveniaElectric locomotives8 min readUpdated: August 2026

Key takeaways

  • Class 342 is an older-generation DC locomotive of Italian origin from the era of the Yugoslav state railway.
  • Fastest way to identify it: class number 342 on the side of the vehicle, plus the noticeably older design language.
  • 3 kV DC means it is tied to the network: without multi-system equipment, the journey ends at the system boundary.
  • Class 342 does not run in Germany – it is purely a target for trips or archive research.
  • Fleet and operating status are changing, because older locomotives are gradually being replaced by modern vehicles.
Contents
  1. 1.What is Class 342?
  2. 2.Understanding the Slovenian class system
  3. 3.What the vehicle type means for operations
  4. 4.Spotting and photography in Slovenia
  5. 5.Common mix-ups
  6. 6.Verdict

Fact file

Vehicle typeOlder-design electric locomotive for passenger and freight duties
OriginItalian-built (Ansaldo), procured back in the days of the Yugoslav state railway JŽ
Electrification system3 kV DC – the basic system of the Slovenian network
Class number342 in the numerical class system of Slovenske železnice
UIC country code for Slovenia79
Area of operationSlovenian network, no use in Germany

Identifying features

Is this really the class in front of you?

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

  • Class number begins with 342 – the decisive detail on Slovenian vehicles
  • Pantograph on the roof, but designed for only one electrification system – no multi-system roof equipment
  • Much older design language than a Vectron or Taurus: boxy body, clear edges, little cladding
  • The vehicle stays on the Slovenian network – a pure DC locomotive can go no further than the system boundary
  • The livery follows whichever SŽ colour scheme is current and has changed several times over the years

Updated: August 2026 – Class 342 is one of those vehicles you’ll never see in Germany: a Slovenian electric locomotive of an older generation, of Italian origin, built for an electrification system nobody uses north of the Alps. This page places it, explains the Slovenian numbering system and shows what to look out for when spotting and photographing it.

Document older vehicles first

With old classes, the date is what counts: what still runs today may be history in two years. Record your sighting in Traintrack.

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

What is Class 342?

SŽ Class 342 is an older-design electric locomotive for the Slovenian network, originally Italian-built. It was procured for the Yugoslav state railway JŽ; after Slovenia’s independence, the Slovenian share of the fleet passed to Slovenske železnice. Comparable vehicles from the JŽ era remained in Croatia, whose passenger services are now run by HŽ Putnički prijevoz.

Technically, it is a pure DC locomotive for 3 kV – the basic system of the Slovenian network. That clearly limits its area of operation: where the overhead line switches to AC, its journey ends. This very point separates the older from the modern vehicle generation.

Understanding the Slovenian class system

Unlike Norway with its letter codes or Germany with its classes, Slovenia works with pure number blocks. If you know the system, you can often place a vehicle before you’ve even seen it properly.

Number range Vehicle type Examples on the Slovenian network
3xx Electric traction units Class 342, Class 363, electric multiple units
6xx Diesel locomotives and diesel multiple units Class 643, Class 661, Class 664
7xx Diesel railcars Class 711 and related designs
Manufacturer number Modern interoperable locos Class 193 (Vectron), Class 541 (Taurus type)

The last row is the real break: with new procurements, the European type number is taking over, and the number then says nothing more about the country. That information is then found solely in the country code of the UIC number. How to read this number is explained in the guide to the UIC number and its check digit – for Slovenian vehicles, the leading 79 is the decisive digit.

Establish the traction type

A pantograph on the roof means an electric loco. An exhaust and engine noise, on the other hand, point to the diesel classes in the 6xx and 7xx ranges.

Estimate the generation

Boxy body, clear edges, little cladding: that points to the older generation. Modern locomotives look smoother and more styled.

Look at the roof equipment

A pure DC locomotive doesn't need elaborate multi-system equipment. Where lots of pantographs and roof equipment are visible, you're more likely looking at a modern multi-system locomotive.

Read the class number

The number on the side of the vehicle decides. Everything else is pre-selection – the number is the proof.

What the vehicle type means for operations

An older-generation main-line electric loco on a network like Slovenia’s typically does what modern locomotives are too valuable or too scarce for: domestic workings, train preparation, transfer freights and stand-in duties. For observers, that means its workings are less predictable than those of multiple units on fixed diagrams.

For comparison, it’s worth looking at the other vehicle groups on the network: the six-axle Class 363 is the country’s better-known, more distinctive DC locomotive, Class 643 covers diesel-powered duties, and modern electric multiple units such as Class 312 are increasingly taking over the local services that used to be the job of locomotive-hauled trains.

Operations and fleet are subject to change

Which older locomotives are still in service, and where, changes with vehicle procurement, maintenance deadlines and timetable years. Older fleet information from the web goes out of date particularly quickly for this vehicle generation – check the current situation before your trip.

See what's being reported in Slovenia

With older stock, current community sightings are often the only reliable source.

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

Spotting and photography in Slovenia

Slovenia is compact: from the coast to the Alps, distances are short, and the most important junctions are close together. That makes a photo trip easy to plan – provided you approach older vehicles with realistic expectations.

  • Junction before line. Older locos stand around more often than they run. At large stations, the chance of an encounter is simply higher.
  • Record shot before art shot. With rare stock, a technically clean side view with a legible number is worth more than a daring perspective with no evidential value.
  • Plan alternative targets. If the locomotive you’re after doesn’t turn up, a second subject saves the day – such as modern multiple units or freight on the same line.
  • Think about the archive straight away. Sort your pictures by vehicle, date and location right away. How to build such an archive sensibly is shown in the article on the photo archive for spotters.

On top of that comes a point many people underestimate: the effect of the electrification system on the picture. DC networks work with considerably higher currents than AC networks and therefore often need a more heavily built overhead line with masts spaced more closely. If you come from Germany, you’ll only notice this subconsciously at first – but in the picture it stands out. For composition, that means planning the overhead line equipment deliberately, either as a design element or by choosing a perspective that keeps it in the background.

And finally, it pays not to focus only on the one class you’re looking for. On a single morning, a Slovenian junction station often shows several vehicle generations side by side: older DC locos, modern multi-system locomotives, electric and diesel multiple units. This coexistence is worth more as documentation than a third picture of the same loco – and when you look back at it later, it explains the environment Class 342 actually works in.

If you’d like to learn to identify vehicles systematically rather than just knowing this one class, the guide to identifying classes helps: it describes the order in which to work through features so that you reach a result even with unfamiliar vehicles.

Location and safety

Track areas, stabling sidings and depots are operational railway land and off-limits to visitors. Take photos from platforms, paths and bridges, keep your distance from the platform edge and never stand on the track side of barriers.

Common mix-ups

It points to Class 342 if …

  • the class number 342 is on the side of the vehicle
  • the loco uses a pantograph and is running on the Slovenian network
  • the design language looks much older than a Vectron or Taurus
  • no elaborate multi-system roof equipment can be seen

Look more closely if …

  • the locomotive is stabled and the markings are only partly legible
  • you see it in a livery you can't place
  • several older electric locos are standing side by side and their shapes are similar

It isn't a 342 if …

  • you see six axles and the distinctive sloping Alsthom front – that leads to Class 363
  • the loco looks angular and modern and is marked 193 or 541
  • there's an exhaust instead of a pantograph

Verdict

Class 342 is no star, but it is a good example of how strongly an electrification system shapes a country’s fleet. It shows why Slovenia used to rely on pure DC locos and why multi-system locomotives handle cross-border traffic today. For German spotters, it is purely a travel destination – and one where acting early pays off, because older generations rarely leave time for a second window.

In short

Class number 342, pantograph, older design language, operation only on the Slovenian network: that's the signature of this DC locomotive. If you want to photograph it, plan around junction stations and document the number and date – the fleet is subject to change.

Record foreign sightings properly

Class number, UIC number, location and date in one app – so your Slovenia pictures can still be identified years later.

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

Summary

  • Class 342 represents the older generation of Slovenian electric locomotives, which still dates from Yugoslav procurement.
  • The Slovenian class system works with number blocks instead of letters – electric locos sit in the 3xx range, diesel locos in the 6xx range.
  • Because the locomotive can handle only one electrification system, its area of operation is limited to the Slovenian network.
  • If you want to document the class, act soon and record the number, date and livery.

Frequently asked questions

What is SŽ Class 342?

An older-design electric locomotive on the Slovenian network, originally Italian-built and procured back in the days of the Yugoslav state railway. It is designed for 3 kV DC and is therefore tied to Slovenia's basic system. Today it clearly belongs, technically and visually, to the older vehicle generations.

How does the Slovenian numbering system work?

Slovenia uses a numerical class system without prefixed letters. Electric traction units sit in the 3xx range, diesel locomotives in the 6xx range, diesel railcars in the 7xx range. Newer procurements such as Classes 193 and 541, by contrast, adopt the manufacturer's type number – there, the number no longer carries any information about the country.

Why can't Class 342 run abroad?

Because it can handle only one electrification system. Slovenia runs on 3 kV DC, Austria and Germany on 15 kV at 16.7 Hz, Hungary and Croatia on 25 kV at 50 Hz. A pure DC locomotive therefore can't go beyond the system boundary – through trains need multi-system locomotives or a locomotive change.

Does Class 342 run in Germany?

No. It is designed neither for the German electrification system nor for German train protection. If you want to see it, you have to travel to Slovenia. For German spotters, that is exactly the appeal: it's a vehicle you can't tick off at home.

How do I tell Class 342 from Class 363?

Quickest by the axle count and the design language: the 363 is a six-axle machine with the distinctive Alsthom front that earned it the nickname Brigitte. The 342 looks boxier and less striking. As always, the final word goes to the class number on the vehicle.

Is Class 342 still in regular service?

Older electric locomotives in Slovenia are gradually being replaced by modern stock, and the operating status of individual locomotives is constantly changing. No reliable statement about the current fleet can be made here – check the situation shortly before your trip using recent sightings rather than older overviews.

How do I identify the exact locomotive?

By the full UIC number on the side of the vehicle. For Slovenian registration, it begins with the country code 79 and contains the class number, serial number and check digit. Only this combination makes a vehicle unique – the class number alone isn't enough for clean documentation.

Where is it worth looking for older SŽ electric locos?

At larger junction stations and in their surroundings, because that's where locomotive changes, stabling and train preparation come together. Which workings are currently run with older stock changes with timetable years and vehicle availability. So rely on recent observations and plan alternative targets.

Log your sighting of the SZ 342

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 Slovenia