I took out a 401k loan and I am paying it back. It is on form 1099-r, why I am getting taxed on it if I am paying back a loan from my retirement plan.
You do not get a 1099-R for loan you are paying back.
What code is on box 7?
My mistake it wasn't a loan it was a covid withdrawal.
Then you need to wait for the 8915-E form to report it.
A COVID-19 related distribution is reported on a new 8915-E form that is not yet available and there is no estimated release date since the form is still in the draft state at the IRS. There is no telling how long it will take the IRS to make the electronic form available.
The draft paper form 8915-E is here:
Also to see if you qualify for a COVID-19 related distribution see:
See this TurboTax FAQ to sign up for an e-mail when the form is ready.