In recent years, Stanford has grown stricter with alcohol consequences and punishments; however, for the most part, the school is pretty laid-back when it comes to these matters. The RAs and residential fellows (Stanford faculty and staff that live next to the dormitories) are aware of alcohol usage in the dorms. As long as you don't drink in common areas inside the dorms and keep your room door closed when drinking, you will be fine. The Stanford Police generally do not stop you on the street if you have cups in your hand. However, do not get caught drunk on your bike; the Stanford Police are known to give tickets if students seem intoxicated while biking.
Stanford holds its honor code to the highest standard. If you are accused of breaking the honor code in any way, you will meet with the Office of Judicial Affairs to decide whether you are guilty, as well as what the consequences will be if you are. In general, Stanford is very laid-back about rules and regulations, except for the honor code. Breaking the honor code is very serious and can lead to leaving the University.