"You Can't Do That" is a 1964 song by The Beatles and is the A-side to their hit single Can't Buy Me Love. It was written by John Lennon. It went to number 33 in Canada and number 48 in the United States. It was covered by Harry Nilsson in 1967 where it went to number 10 in Canada and number 122 in the United States.