Fe-Co and Fe-CoB alloy films of 40 nm thickness are prepared by sputtering on MgO(001) single-crystal substrates using alloy targets of (Fe0.7Co0.3)100-xBx (x = 0, 5, 10, 15 at. %) by varying the substrate temperature from room temperature (RT) to 600 °C. The film structure is investigated by reflection high-energy electron diffraction and out-of-plane, in-plane, and pole-figure X-ray diffractions. Preparation condition of epitaxial film is found to depend on the B content and the substrate temperature. Epitaxial (Fe0.7Co0.3)100-xBx films are obtained at the investigated temperatures for the B contents lower than 5 at. %, whereas films with the B contents of 10 and 15 at. % grow epitaxially at temperatures higher than 400 and 600 °C, respectively. Single-crystal films of bcc(001) orientation are formed at temperatures higher than RT, 200, 400, and 600 °C for the B contents of 0, 5, 10, and 15 at. %, respectively. As the substrate temperature decreases, the epitaxial films with B contents of 5-15 at. % tend to involve four types of bcc(122) variant whose orientations are rotated around the film normal by 90° each other. The (Fe0.7Co0.3)90B10 film deposited at RT and the (Fe0.7Co0.3)85B15 films deposited at temperatures from RT to 200 °C are found to be consisting of bcc polycrystal and amorphous, respectively. The structure is thus determined to vary in the order of bcc(001) single-crystal => bcc(001) and bcc(122) epitaxial crystals => bcc polycrystal => amorphous with increasing the B content and with decreasing the substrate temperature. The lattices of single-crystal Fe-Co (x = 0 at. %) and Fe-CoB (x = 5-15 at. %) films are respectively expanded along the in-plane and the perpendicular directions. The single-crystal Fe-Co films show in-plane magnetic anisotropies with the easy magnetization directions of bcc[100] and bcc[010], which is reflecting the magnetocrystalline anisotropy of bulk bcc-Fe70Co30 alloy. On the contrary, the single-crystal Fe-CoB films show almost isotropic in-plane magnetic properties and weak perpendicular anisotropies, which is possibly caused by an influence of lattice deformation along the perpendicular direction.