We adopt a mixed oligopoly model, where a state‐owned welfare‐maximizing public firm competes with a profit‐maximizing private firm, to compare the welfare effects of the specific and ad valorem tax in the presence of the shadow cost of public funds. Following the assumption of most previous literature that total output is constant under specific and ad valorem taxation, we find that, when the shadow cost of public funds exists, the tax policy must be adjusted according to the privatization level of the public firm; if the privatization level is low (medium, high), the government needs to adopt ad valorem (specific, ad valorem) tax. Moreover, the private firm will earn a higher (lower) profit under ad valorem tax than under specific tax, if the public firm is not fully privatized and the shadow cost of public funds is high (low).