Structural and magnetic properties of 3d transition-metal-doped silicon carbide in cubic (3C) polytype have been systematically studied from first principles to reconcile conflicting experimental findings. The most energetically favorable structures fall in two distinct sets depending on the character of the 3d transition metal and the Si atomic chemical potential. The structure of substitutional TMSi is the most stable one for early transition metals like Ti, V, Cr, and Mn, while the clustering of TMSi−TMI dimers formed by the neighboring substitutional TMSi and interstitial TMI is energetically favored for late transition metals such as Co, Ni, and Cu. For Fe, the most stable structure is the substitutional configuration under C-rich conditions, while under Si-rich conditions the clustering of the FeSi−FeI dimer is energetically favored. It is found in the doped silicon carbide that the Co dimer is nonmagnetic, while both Ni and Cu atoms interact ferromagnetically and make the whole doped system half metallic. Fe atoms show a ferrimagnetic order with a local magnetic moment of 2.0 and −0.34 μB at substitutional and interstitial sites, respectively. Such intrinsically tunable magnetic properties of 3d transition-metal-doped silicon carbide could find many exciting potential applications in spintronics.