Pimaricin is an important polyene antifungal antibiotic that binds ergosterol and extracts it from fungal membranes. In previous work, two pimaricin derivatives (1 and 2) with improved pharmacological activities and another derivative (3) that showed no antifungal activity were produced by the mutant strain of Streptomyces chattanoogensis, in which the P450 monooxygenase gene scnG has been inactivated. Furthermore, inactivation of the DH12 dehydratase domain of the pimaricin polyketide synthases (PKSs) resulted in specific accumulation of the undesired metabolite 3, suggesting that improvement of the corresponding dehydratase activity may reduce or eliminate the accumulation of 3. Accordingly, the DH12-KR12 didomain within the pimaricin PKS was swapped with the fully active DH11-KR11 didomain. As predicted, the mutant was not able to produce 3 but accumulated 1 and 2 in high yields. Moreover, the effect of the flanking linker regions on domain swapping was evaluated. It was found that retention of the DH12-KR12 linker regions was more critical for the processivity of hybrid PKSs. Subsequently, high-yield production of 1 or 2 was obtained by overexpressing the scnD gene and its partner scnF and by disrupting the scnD gene, respectively. To our knowledge, this is the first report on the elimination of a polyketide undesired metabolite along with overproduction of desired product by improving the catalytic efficiency of a DH domain using a domain swapping technology.