It heavily depends on the specific MMO, your internet speed, and the client's download speed.
An older, long-running MMO often has years of patches and updates piled on, which can add several hours to the process. Downloading the client and then pulling the main content through its patcher can take anywhere from a couple of hours to ten or more, depending on your connection. Games like EverQuest II or City of Heroes, with four-plus years of updates, are prime examples, with fresh installs sometimes taking six to eight hours on a cable connection.
Not every game is like that; some clients deliver compact, all-in-one updates that go much faster. Unless you're installing from a disc with a fairly new game, it's usually smart to start the download before bed so you can wake up to a finished install.