The patent discloses self-emulsifying formulations of bisphosphonates or bisphosphonic acids in the prevention and treatment of conditions involving calcium or phosphate metabolism. The dosage forms are either capsules, or tablets, or other controlled release drug delivery systems, or devices that contain self-emulsifying formulation of such bisphosphonates or bisphosphonic acids.