Described herein are compounds and compositions that modulate the activity of beta-lactamases. In some embodiments, the compounds described herein inhibit beta-lactamase. In certain embodiments, the compounds described herein are useful in the treatment of bacterial infections.