Our results demonstrate that enterogenic S. maltophilia migrates from the gut to the mammary gland to mediate the gut-mammary axis and activates the calcium-ROS-AMPK-mTOR-autophagy pathway, causing mastitis. The gene discussed is MTOR; the disease is mastitis.