The judge has officially accepted Justin Timberlake's plea deal ... and he will do 25 hours community service within one year, and pay a fine up to $500.
The judge thanked Justin for all that he said and for speaking from the heart.
His license in NY State will have a 90-day suspension.