We characterize the optimal contract for resource extraction in a context where the concessionaire has private information on the initial stock of resource. The dynamics of extraction is characterized by a virtual Hotelling rule in which costs of extraction are replaced with virtual costs of extraction.