The difficulty adjustment is a self-regulating stabilizing mechanism calculated every 2015 blocks, or 2 weeks, so that blocks continue to get mined once every 10 minutes on average. As the economic incentive to mine for BTC increases, difficulty adjusts upwards, and the production cost of BTC increases.