Agrobacterium tumefaciens is a unique plant pathogenic bacterium renowned for its ability to transform plants. The integration of transferred DNA (T-DNA) and the formation of complex insertions in the genome of transgenic plants during A. tumefaciensmediated transformation are still poorly understood. Here, we show that complex extrachromosomal T-DNA structures form in A. tumefaciens-infected plants immediately after infection. Furthermore, these extrachromosomal complex DNA molecules can circularize in planta. We recovered circular T-DNA molecules (T-circles) using a novel plasmid-rescue method. Sequencing analysis of the T-circles revealed patterns similar to the insertion patterns commonly found in transgenic plants. The patterns include illegitimate DNA end joining, T-DNA truncations, T-DNA repeats, binary vector sequences, and other unknown "filler" sequences. Our data suggest that prior to T-DNA integration, a transferred single-stranded T-DNA is converted into a doublestranded form. We propose that termini of linear double-stranded T-DNAs are recognized and repaired by the plant's DNA double-strand break-repair machinery. This can lead to circularization, integration, or the formation of extrachromosomal complex T-DNA structures that subsequently may integrate.