I'm having a problem trying to replace my bathroom switch....there are 9 separate wires coming out from the wall...1 red, 4 white, 4 black...there is an exhaust fan and then there is a light above the sink and then there is an outlet... I can't seem to figure out which wire's go together and which wires are supposed to have a pigtail in order to put 4 total wires on to the new Switch...can someone please help me???!!! Thank you.
Here's the trick with electrical wires in junction boxes. There is no color coding. Wires are the colors they are because that's how cables are made.
There is a system and practice for relating wires to functions. However, the information is stored in the the way the wires are connected together already. For instance, in a lamp box with 3 blacks and 3 whites, a wire-nutted group of 2 blacks / 1 white has a specific meaning. There's no need for further documentation; any electrician instantly recognizes what that is, and now knows the function of every wire in the box.
So, that is why we need to see the current, existing relationship of wires in the box to each other.
From time to time, a newbie will pull all of that apart, not realizing. In that case, it's time to call the electrician. We on the Internet cannot possibly discern the function of a bunch of unmarked wires. The electrician will be on-site and will be able to trace out each cable's function.
If you hook all those black and red wires together and all those white wires together separately everything should work.
Now you just need to disconnect the black and red wires that go to the things that you want to stop and put switches in the gap.
don't mess with the wire when they're live, turn the power to that circuit off before experimenting.