Although methylation reactions are commonplace, currently used reagents are hazardous, toxic, and/or unstable. Dimethylcarbonate has been put forth as an inexpensive, nontoxic, and "green" potential methylating reagent. Herein we report a general, base-catalyzed methyl transfer from dimethylcarbonate to carboxylic acids. High selectivity for esterification is observed even in the presence of unprotected phenols, and the mild reaction conditions enable conservation of stereochemistry at epimerizable stereocenters. Isotope-labeling studies suggest a mechanism proceeding by direct methyl transfer from dimethylcarbonate to the substrate.