The musician was wearing noise-cancelling headphones while creating tracks on his laptop and he was unable to hear the P.A. system, he said.
"I'm sorry to say me and my group have experienced they worse service due to a overly aggressive flight attendant," he wrote.
"I don't want to believe she racist. But she has clearly aimed all her frustrations only at the people of colour."
Later, he followed up the first tweet with a second featuring a picture of a policeman and named the attendant, labelling her racist.
"This is how your greeted when you land from Brisbane to Sydney flying @qantas with a #RacistFlightattendant".
"She sent the police after me bacause I couldn't hear the PA while making beats on the plane wearing noise canceling headphones [sic]."
In another tweet, the musician said police officers let him go after other passengers testified on his behalf.
A person who responded to will.i.am's tweet in defence of the attendant for doing her job also received harsh words from the music icon.
"Lmao you can't name and target people because hey did their jobs...", the Twitter user wrote.
"Is callin the police on a passenger for not hearing he P.A due to wearing noise canceling headphones appropriate? [sic]," will.i.am said in a retweet.
"If didn't put away my laptop "in a rapid 2min time" I'd understand. I did comply quickly & politely, only to be greeted by police. I think I was targeted."
Friday Jams will be held tomorrow at Western Springs Stadium in Auckland with tickets to the event still available online at Ticketmaster.
A number of big-name celebrity musicians would join Will.i.am's Black Eyed Peas, including Jason Derulo, Keri Hilson, and Sisqo.