A detailed protocol is presented for preparing the bacteriostatic diamide masarimycin, a small molecule probe that inhibits the growth of Bacillus subtilis and Streptococcus pneumoniae by targeting cell wall degradation. Its application as a chemical probe is demonstrated in synergy/antagonism assays and morphological studies with B. subtilis and S. pneumoniae.