According to the CDC, a tick must be attached at least 24 hours in order to infect you, oh, and it has to be engorged.
The one that i found on me was there for about
six to eight hours. It was a nymph deer tick and it was not engorged. But i got it from a dog, so who knows how long it was on the dog before it got on me