Abstract: This paper uses a dynamic stochastic model to solve for the optimal pricing policy of the music recording companies in the presence of P2P file-sharing networks eroding their CD sales. We employ a policy iteration algorithm on a discretized state space to numerically compute the optimal price policy. The realistically calibrated model reflects the real-world figures we observe and provides estimates of figures we can not observe, such as changes in total welfare.