President Barack Obama in a phone call with Chinese President Xi Jinping on Tuesday called for "swift work" to narrow the countries' differences over cybersecurity issues, the White House said.
The world's two biggest economies have been trying to ease tensions amid mutual accusations of hacking and Internet theft.
Obama also told Xi he looked forward to welcoming him to Washington for a state visit later this year, the statement added.
Xi will visit the United States in September, state news agency Xinhua reported on Wednesday.
The White House added that "The two leaders reaffirmed their commitment to coordinate closely on security challenges, including by jointly encouraging Iran to seize the historic opportunity presented by P5+1 negotiations."
The nuclear talks with the United States, Russia, China, Britain, France and France are aimed at clinching an accord that would ease Western concerns that Tehran could pursue a convert nuclear weapons program, in return for the lifting of sanctions that have ravaged the Iranian economy.
Negotiators have set a June 30 final deadline for an accord, and Western officials have said they aim to agree on the substance of that deal by March.
With your current subscription plan you can comment on stories. However, before writing your first comment, please create a display name in the Profile section of your subscriber account page.