It depends. Here is what the IRS says:
If you have no regular place of work but ordinarily work in the metropolitan area where you live, you can deduct daily transportation costs between home and a temporary work site outside that metropolitan area.
Generally, a metropolitan area includes the area within the city limits and the suburbs that are considered part of that metropolitan area.
You can’t deduct daily transportation costs between your home and temporary work sites within your metropolitan area. These are nondeductible commuting expenses.
If you have one or more regular work locations away from your home and you commute to a temporary work location in the same trade or business, you can deduct the expenses of the daily round-trip transportation between your home and the temporary location, regardless of distance.
IRS Publication 463
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"