The founding treaties of the European Union are its primary legal authority. All legislation must be in policy areas cited in the treaties. EU institutions can adopt legislation, which the member states then implement. Treaties are amended to make the EU more efficient and transparent, to prepare for new member states, and to introduce new areas of cooperation.
The main European Union treaties are:
Treaties are available as original versions, with amendments, and as consolidated versions. Consolidated versions incorporate, repeal, amend, and renumber sections from earlier treaties.
Find the treaty text:
European Union legislation is published in the Official Journal of the European Union. There is no official EU code, although there are unofficial consolidated versions of legislation incorporating amendments with original text.
Types of legislation published include:
A Google search by citation (regulation number or OJ citation) may work. But check for status of the legislation you find.
Most European databases of national legislation will also include EU legislation