It is well known that the type III secretion system (T3SS) and type III (T3) effectors are essential for the pathogenicity of most bacterial phytopathogens and that the expression of T3SS and T3 effectors is suppressed in rich media but induced in minimal media and plants. To facilitate in-depth studies on T3SS and T3 effectors, it is crucial to establish a medium for T3 effector expression and secretion. Xanthomonas campestris pv. campestris (Xcc) is a model bacterium for studying plant-pathogen interactions. To date no medium for Xcc T3 effector secretion has been defined. Here, we compared four minimal media (MME, MMX, XVM2, and XOM2) which are reported for T3 expression induction in Xanthomonas spp. and found that MME is most efficient for expression and secretion of Xcc T3 effectors. By optimization of carbon and nitrogen sources and pH value based on MME, we established XCM1 medium, which is about 3 times stronger than MME for Xcc T3 effectors secretion. We further optimized the concentration of phosphate, calcium, and magnesium in XCM1 and found that XCM1 with a lower concentration of magnesium (renamed as XCM2) is about 10 times as efficient as XCM1 (meanwhile, about 30 times stronger than MME). Thus, we established an inducing medium XCM2 which is preferred for T3 effector secretion in Xcc.