This study suggests an optimization framework to plan and design a network of bike lanes in an urban context, based on equity principles and subject to a given available budget. The novelty of the proposal consists in an objective function that aims at minimizing the existing inequities among different population groups in terms of accessibility/opportunity to the bikeways. The proposed methodology represents a reliable decision support system tool that could help transport authorities/managers to select the priority areas of their future investments related to the cycling infrastructures. To prove the effectiveness and value of the methodology, an application with relevant analysis to a test case study is presented