My longest has to be Atlas Shrugged. For Whom the Bell Tolls is pretty long too, I guess.

What about a series of books that aren't really separate but intended to be continuous? Lord of the Rings is like that, and Harry Potter I think. I haven't read the latter, but it's supposed to be 7 or 8 books long.