Chickenpox is contagious from about 48 hours before the rash appears until all of the rash blisters have crusted over.
However, this timeline is not exact for everyone, and there may be individual variation. Always take care with chickenpox around people at risk of complications.