You can apply for the tourist visa for Portugal at least two weeks before your planned trip. Three months prior to your expected departure date is the earliest you can submit. Ideally, you can submit your application a month before your travel date.