Soil moisture affects water and heat exchange between soil and air, weather and climate, and plant growth. Therefore, controlling and predicting soil moisture is vital for irrigation, nutrient supply, absorption, and crop productivity. Soil microbial fuel cell (SMFC) is a recent technology that generates electricity from soil microorganisms and chemicals. SMFC can be used to sense soil moisture and treat polluted soil. In this study, we designed a low-cost, portable, and easy-to-install SMFC for soil moisture sensing, and it was tested at four moisture levels: 40%, 60%, 80%, and 100% soil water holding capacity (SWHC). The SMFC worked best at 60 - 80% SWHC, which is suitable moisture for many plants. The results suggest that the proposed SMFC can be a potential soil moisture sensor.