The exact closed-form expression for the outage probability (OP) of cognitive radio dual-hop amplify-and-forward (AF) relay networks is derived. The tractable expression of the OP, given in the form of elementary functions, readily enables evaluating the effect of primary users on the secondary system performance. It has been shown that the use of AF relaying significantly improves the performance of cognitive radio networks compared to its direct transmission counterpart.