Generally speaking, you cannot pay federal student loans with a credit card. However, it may be possible to make payments toward private student loans with a credit card if the company allows it.