Will co-signing an auto loan affect my credit?

It can.

When you co-sign, you take on responsibility for repaying the loan if the primary borrower does not. The loan may appear on your credit report, and missed or late payments may affect your credit as well as the primary borrower’s.

Before you co-sign, make sure you understand the loan terms and could comfortably make the payments yourself if needed.