The X class is a class of diesel locomotives built by English Electric for the Tasmanian Government Railways between 1950 and 1952. They were the first class of diesel locomotive to enter mainline service on a Government-owned railway in Australia.