We survey recent theoretical and empirical literature on political economics of nondemocracies. Nondemocratic regimes face multiple challenges to their rule, both internal, such as palace coups or breakdown of their support coalition, and external, such as mass protests or revolutions. We analyze strategic decisions made by dictators from the standpoint of maximizing the chances of regime survival in the light of these challenges, and show how it explains multiple patterns, from hiring political loyalists to positions that require competence, to restricting media freedom at the cost of sacrificing bureaucratic efficiency, to running propaganda campaigns, organizing election fraud, purging opponents and associates, and repressing citizens.