© 2018 MDPI AG. All rights reserved. This study proposes a very effective formulation to carry out the security-constrained direct current (DC)-based optimal power flow (OPF) problem using two linear factors: (i) the power transmission distribution factors (PTDF) and (ii) the line outage distribution factors (LODF). The security-constrained (SC) DCOPF problem has been reformulated using these linear distribution factors, and mainly the pre- and post-contingency constraints have been added into the optimization problem based on the active power unit generation (decision variables). The main advantage of this formulation is the reduction of decision variables as well as equality and inequality constraints. To validate the introduced formulation, several experiments have been conducted using MatPower, DIgSILENT Power Factory and Gurobi. Simulation results demonstrate both the feasibility to carry out the SCOPF problem and the potential applicability of the proposed formulation to medium and large-scale power systems.