U.S. citizens and nationals can travel freely between the mainland U.S. and Puerto Rico without a passport, as it is a U.S. territory.
However, a passport or other federally approved ID (like REAL ID) is strongly recommended for identification and potential travel disruptions.
Non-U.S. citizens must follow standard U.S. entry requirements (visa/ESTA).