The Coast Guard Southeast said there were 512 people onboard the Caribbean Fantasy. Their representative tweeted that members of the USCG and local rescue crews assisted at the scene, and all passengers and crew have been safely disembarked and taken to Pier 6 in the Pan American Pier.
The ship ran aground 800 yards off Punta Salinas, Coast Guard Southeast said.
The ship was located about two miles north of the San Juan Harbor when the fire began. There have been no reports of injuries.
The fire reportedly started in the engine room and spread to other parts of the ship, the USCG said.
Air and surface crews responded, including two Coast Guard 33-foot Special Purpose Craft crews and one 45-foot Response Boat Medium crews out of Coast Guard Station San Juan. Also at the scene was the Coast Guard Cutter Joseph Tezanos and a small boat from the Coast Guard Cutter Donald Horsley.
The Puerto Rico Joint Forces of Action also sent multiple boats to assist.
The 561-foot Caribbean Fantasy provides travel for people and vehicles from the Dominican Republic to Puerto Rico, ferrying between the ports of Santo Domingo and San Juan.