How soon in a pregnancy can brown or pink spotting occur?

Any spotting in pregnancy is abnormal, though not necessarily serious. this happen only once, around the time you are expecting your period--this is called implatation bleeding and it can last for one to two days but not all women get this-just a few does