Compaction and looping of the ~2.5-Mb Igh locus during V(D)J rearrangement is essential to allow all V(H) genes to be brought in proximity with D(H)-J(H) segments to create a diverse antibody repertoire, but the proteins directly responsible for this are unknown. Because CCCTC-binding factor (CTCF) has been demonstrated to be involved in long-range chromosomal interactions, we hypothesized that CTCF may promote the contraction of the Igh locus. ChIP sequencing was performed on pro-B cells, revealing colocalization of CTCF and Rad21 binding at ~60 sites throughout the V(H) region and 2 other sites within the Igh locus. These numerous CTCF/cohesin sites potentially form the bases of the multiloop rosette structures at the Igh locus that compact during Ig heavy chain rearrangement. To test whether CTCF was involved in locus compaction, we used 3D-FISH to measure compaction in pro-B cells transduced with CTCF shRNA retroviruses. Reduction of CTCF binding resulted in a decrease in Igh locus compaction. Long-range interactions within the Igh locus were measured with the chromosomal conformation capture assay, revealing direct interactions between CTCF sites 5' of DFL16 and the 3' regulatory region, and also the intronic enhancer (Eμ), creating a D(H)-J(H)-Eμ-C(H) domain. Knockdown of CTCF also resulted in the increase of antisense transcription throughout the D(H) region and parts of the V(H) locus, suggesting a widespread regulatory role for CTCF. Together, our findings demonstrate that CTCF plays an important role in the 3D structure of the Igh locus and in the regulation of antisense germline transcription and that it contributes to the compaction of the Igh locus.