R602.6 Drilling and notching - studs. Any stud in an exterior wall or bearing partition may be cut or notched to a depth not exceeding 25 percent of its width. Studs in nonbearing partitions may be notched to a depth not to exceed 40 percent of a single stud width. Any stud may be bored or drilled, provided that the diameter of the resulting hole is no greater than 40 percent of the stud width, the edge of the hole is no closer than 5/8 inch (15.9 mm) to the edge of the stud, and the hole is not located in the same section as a cut or notch.
R802.7.1 Sawn lumber. Notches in solid lumber joists, rafters and beams shall not exceed one-sixth of the depth of the member, shall not be longer than one-third of the depth of the member and shall not be located in the middle one-third of the span. Notches at the ends of the member shall not exceed one-fourth the depth of the member. The tension side of members 4 inches (102 mm) or greater in nominal thickness shall not be notched except at the ends of the members. The diameter of the holes bored or cut into members shall not exceed one-third the depth of the member. Holes shall not be closer than 2 inches (51mm) to the top or bottom of the member, or to any other hole located in the member. Where the member is also notched, the hole shall not be closer than inches (51 mm) to the notch. Exception: Notches on cantilevered portions of rafters are permitted provided the dimension of the remaining portion of the rafter is not less than 4-inch nominal 102 mm) and the length of the cantilever does not exceed 24 inches (610 mm). R802.7.2 Engineered wood products. Cuts, notches and holes bored in trusses, structural composite lumber, structural glue-laminated members or I-joists are prohibited except where permitted by the manufacturer’s recommendations or where the effects of such alterations are specifically considered in the design of the member by a registered design professional.
NOTCHING BORING GUIDE for wood studs, joists, and beams