In this talk, we will discuss our recent results on the global regularity of optimal transport maps and the regularity of free boundaries that arise in the optimal partial transport problem. The free boundary marks the interface between the transported and untransported regions, and its regularity is linked to the regularity of optimal transport map nearby. This is based on joint works with Jiakun Liu and Xu-Jia Wang.