Narrative:

At the time I took off from ZZZ this morning; a low cloud layer was moving in from the east; but the airport was still VFR. Immediately prior to my departure; I watched another aircraft take off; and observed him make a right turn and remain clear of the clouds. My plan was to do exactly the same thing. Tower cleared me for an early right turn to avoid the clouds. I took off; climbed at vx; and made an early right turn. But it was not quite early enough to avoid the clouds. I inadvertently entered the clouds for about 10 seconds while in the turn. I quickly broke out of the clouds and continued on course. The airport went IFR shortly after my departure. Human factors involved were the desire to depart quickly; knowing that VFR conditions prevailed for the rest of the flight. I would not have attempted the takeoff had I not seen the other aircraft depart immediately prior to my departure and remain clear of the clouds. My decision to go was also influenced by the fact that I am instrument rated.

Google
 

Original NASA ASRS Text

Title: SR22 pilot reported inadvertently entering clouds after VFR takeoff.

Narrative: At the time I took off from ZZZ this morning; a low cloud layer was moving in from the east; but the airport was still VFR. Immediately prior to my departure; I watched another aircraft take off; and observed him make a right turn and remain clear of the clouds. My plan was to do exactly the same thing. Tower cleared me for an early right turn to avoid the clouds. I took off; climbed at Vx; and made an early right turn. But it was not quite early enough to avoid the clouds. I inadvertently entered the clouds for about 10 seconds while in the turn. I quickly broke out of the clouds and continued on course. The airport went IFR shortly after my departure. Human factors involved were the desire to depart quickly; knowing that VFR conditions prevailed for the rest of the flight. I would not have attempted the takeoff had I not seen the other aircraft depart immediately prior to my departure and remain clear of the clouds. My decision to go was also influenced by the fact that I am instrument rated.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.