When you refinance a student loan you'll be essentially taking out an entirely new loan with a new student loan company.
And when you refinance the student loan the student loan company will check your credit score and credit rating and a hard inquiry will show up on your credit report.
These hard inquiries will lower your credit score by a little but then the hard inquiry should drop off your credit report within a few weeks to a month.