Yes there are closing costs when you pay cash for a house but you most likely do avoid other fees that are associated with buying a house through a mortgage.
The closing costs for a home that is $50,000.00 would be around $2,500.00 and is paid by the buyer when they close on the house.
You'll also need to pay title and deed fees on the property when buying a house for cash.