The present invention provides pyrazolo[1,5-a]pyrimidine compounds and pharmaceutically acceptable salts thereof having CB1 receptor-antagonizing activity. These compounds, and compositions comprising the same, are hence useful in the treatment of a wide range of conditions and diseases.