When I used to commute with a bike that had a rack, my pannier bag was advertised as water resistant and actually did a very good job. However, being paranoid, I acquired a really large "zip-loc" type plastic bag that I would put my laptop in for double protection.