This paper develops a novel model and an algorithm of security region based real and reactive power pricing of power systems. In the proposed model, the reactive power production cost is represented as the opportunity cost. The static voltage stability region in the cut set power space (CVSR) and the practical dynamic security region (PDSR) in the injection power space are used to represent the constraints of voltage stability and transient stability, so that the consideration of this kind of constraints in the optimization becomes very easy. In the proposed algorithm, a decoupled optimization and iteration method of active power production cost and reactive power production cost is suggested. According to the K-T optimality conditions, the prices of active power and reactive power, and the different components corresponding to the concerned security constraints are derived. The components of spot prices can reflect the influence of different node power injections on each kind of security constraints, so that through the node price all of the participants in power market can be stimulated to take an active part in maintaining the system security. An illustrative example on the New England 10-genetator 39-bus System is used to demonstrate the proposed method.