The primary mode of transmission is through the bite of infected fleas. It can also be transmitted through direct contact with infected tissues or fluids, or by inhaling respiratory droplets from a person with pneumonic plague.