The Trade Union Act 1871 (34 & 35 Vict c 31) was an Act of the Parliament of the United Kingdom which legalised trade unions for the first time in the United Kingdom. This was one of the founding pieces of legislation in UK labour law, though it has today been superseded by the Trade Union and Labour Relations (Consolidation) Act 1992.