You remain in your current status until it expires or until you receive adjustment of status, whichever is earlier. If your current status expires before your I-485 is adjudicated, it will not disqualify you from adjusting status and you will not be considered accumulating unlawful presence - unless your I-485 gets denied, in which case you will be considered an overstay from the date of expiration of your F1-OPT. You can continue working with your OPT employment authorization card until it expires (or until you receive a green card and no longer need an EAD to work). You should also file I-765 application for employment authorization with I-485: this way, you don't have to pay the I-765 filing fee, and, in about 3 months from filing, you will receive a new EAD bearing the "adjustment of status applicant" codes. It will be valid for a year, can be extended if your I-485 will remain pending 9 months from now; and you can use it either right away - or after your OPT EAD expires. A bit of advice: if USCIS does not call you in for an adjustment interview by the time when you will have only a couple of months left of your OPT, or if you have some other reasons to doubt that your adjustment of status will be granted before your current status expires, talk to an immigration attorney about a possibility to extend your F1/OPT status or to change it to something else - to keep you in status regardless of the outcome of the adjustment process.
Answered on Jul 31st, 2013 at 11:49 PM