The article presents a dataset on the legislative procedure in European Justice and Home Affairs (JHA) and a new method of data processeing. The dataset contains information on 529 procedures proposed between January 1998 and December 2017. For each of the legislative proposals, the dataset identifies the main elements of the legislative procedure (e.g., dates, types of procedure, directory codes and subcodes, actors, voting results, amendments, legal basis, etc.) and the changes introduced at each step of the legislative process from the text proposed by the European Commission to the final version published in the Official Journal of the European Union. This information has been gathered using text mining techniques. The dataset is relevant for a broad range of research questions regarding the EU decision-making process in JHA related to the balance of powers between European institutional actors and their capacity to influence the legislative outputs.