The present invention provides abuse deterrent mucoadhesive devices for delivery of buprenorphine. Each device comprises a mucoadhesive layer and a backing layer, and the pH in each layer is selected, such that absorption of buprenorphine is maximized.