The berberine bridge enzyme (BBE)-like flavoproteins have attracted continuous attention for their capability to catalyze various oxidative reactions. Here we demonstrate that MitR, a secreted BBE-like enzyme, functions as a special drug-binding efflux protein evolved from quinone reductase. Moreover, this protein provides self-resistance to its hosts toward the DNA-alkylating agent mitomycin C with a distinctive strategy, featured by independently performing drug binding and efflux.