Depends on the specific closing cost.
Some are deductible, some have to be capitalized to basis, some have to be capitalized & amortized.
If a post answers your question, click on *Accept as solution* for future searches
It would likely be helpful to sort out the info with details. For instance:
Loan from whom to whom for what reason?
"Closing" typically relates to the selling of real property.We don't know if you are asking on behalf of a buy or seller.
Loan or not is how it got paid for. There are various types of Costs for Closing the loan. For Loans, you might have Origination fees, points, commissions, property taxes (in arrears or to sale date) and other escrow amounts.
And whose Expense would you like this to be? 1040? 1065?
"Level Up" is a gaming function, not a real life function.