This paper extends the licensing decision model in prior studies and proposes a two-stage model that explains the effects of product market competition and patent protection on the number of licenses made between technology suppliers and buyers. Using novel survey data on Japanese firms' licensing activities between 2008 and 2010, our empirical investigation finds that more competitors in licensors' product markets lead to more licenses whereas more competitors in licensees' product markets lead to fewer licenses. Further, empirical results also show that patent protection elicits opposite effects in the two stages such that patented technologies are more likely to be licensed but to fewer licensees, compared with non-patented technologies. Finally, the effects of product market competition and patent appear to interact in their joint influence on the number of licenses.