On June 29, 2018, James opted out of his contract with the Cavaliers and became an unrestricted free agent.