The gender gap in both employment and labour participation has narrowed markedly in recent decades in Spain. However, this decline seems to have slowed and shows a certain persistence. The solution to this problem can respond to different regulatory or non-regulatory policies. This article studies the evolution of the regulatory framework for the formulation of possible policy recommendations. We identify and quantify for the first time when, at what rate and in what regions, Spanish administrations have adopted regulations aimed at combating discrimination against women, achieving gender equality or approved measures related to the work-life balance. The study is based on a text analysis of 297,402 regulations adopted in the period 1996-2022. The indicators reveal the high degree of heterogeneity in terms of the legislation. Non-discrimination legislation was the most developed and frequent, with 11,228 regional regulations and 2590 central administration regulations adopted. We show that the volume of new regulations, mainly those related to discrimination and work-life balance, has contributed to the reduction in gender gaps. Policy actions by administrations should concentrate on these two modes of intervention. The general analysis of regulation in this area also allows for some recommendations in terms of "better regulation" policies, such as the introduction of gender equality assessments (specific regulatory impact reports). (c) 2024 The Society for Policy Modeling. Published by Elsevier Inc. All rights are reserved, including those for text and data mining, AI training, and similar technologies.