The construction of mutant fungal strains is often limited by the poor efficiency of homologous recombination in these organisms. Higher recombination efficiencies can be obtained by increasing the length of homologous DNA flanking the transformation marker, although this is a tedious process when standard molecular biology techniques are used for the construction of gene replacement cassettes. Here, we present a two-step technology which takes advantage of an Escherichia coli strain expressing the phage lambda Red(gam, bet, exo) functions and involves (i) the construction in this strain of a recombinant cosmid by in vivo recombination between a cosmid carrying a genomic region of interest and a PCR-generated transformation marker flanked by 50 bp regions of homology with the target DNA and (ii) genetic exchange in the fungus itself between the chromosomal locus and the circular or linearized recombinant cosmid. This strategy enables the rapid establishment of mutant strains carrying gene knock-outs with efficiencies >50%. It should also be appropriate for the construction of fungal strains with gene fusions or promoter replacements.